es131245 Posted November 13, 2013 Share Posted November 13, 2013 Hi! Im using ajax + jquery + php navigation. If php gets page with $_GET['method']=='ajax' its peturn page without header and footer. Jquery gets responce and changes #content of the page to responce. So whole site works with it even without any changes in url line. But to make work <input type="button" value="DO " onclick="if(confirm('SURE?')==true){location.href=location.pathname+'?do=DoEverything';}" /> I nead to change url. Any ideas? I dont want to add new variable with our in it. Link to comment Share on other sites More sharing options...
justsomeguy Posted November 13, 2013 Share Posted November 13, 2013 I'm not sure what the problem is, what do you need to change the URL to? Link to comment Share on other sites More sharing options...
es131245 Posted November 14, 2013 Author Share Posted November 14, 2013 To use JS NAVIGATOR. Link to comment Share on other sites More sharing options...
justsomeguy Posted November 14, 2013 Share Posted November 14, 2013 I don't know what JS NAVIGATOR is. I don't understand what you're trying to do, you mention in your first post that you need to change the link but I don't know what you need to change it to. Why doesn't that link work? Why do you need to change it? How do you need to change it? Link to comment Share on other sites More sharing options...
es131245 Posted November 16, 2013 Author Share Posted November 16, 2013 Sorry for bothering. Solved it Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now