Jump to content

ajax+ jquery navigation


es131245

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...