C
chadsmith76
Is there a way to access a string in the url with ajax and change a
variable but not reload the page.
I know you can do this for id's
document.getElementById("page").value = page;
but I want to change the page value in the url as well. Here is what i
am trying to do (maybe there is another way and I am going about it all
wrong) I use ajax to do some paging but if someone wanted to book mark
a page if would get the right page. I have it set up so if you dont
have javascript and click to the next page it really takes you there,
url and all. If you do have javascript it uses ajax to load the next
page, but the url stays at the first loaded page.
If i can change the page var in the url each time with javascript then
the bookmarking should work.
Any ideas???
Thanks for any help.
chad
variable but not reload the page.
I know you can do this for id's
document.getElementById("page").value = page;
but I want to change the page value in the url as well. Here is what i
am trying to do (maybe there is another way and I am going about it all
wrong) I use ajax to do some paging but if someone wanted to book mark
a page if would get the right page. I have it set up so if you dont
have javascript and click to the next page it really takes you there,
url and all. If you do have javascript it uses ajax to load the next
page, but the url stays at the first loaded page.
If i can change the page var in the url each time with javascript then
the bookmarking should work.
Any ideas???
Thanks for any help.
chad