nadeemshafi9 Posted January 5, 2009 Share Posted January 5, 2009 hi guys i am doing all sorts of ajax updates on the page and updating records, prob is when records are updated views change and record id changes, but the url does not unfortunatly it contains the old records id and on reload eg if the user hapens to press refresh the page will revert to an old record, this causes chaos and i need to alter the url when records are updated (my records on update are archived so a new record is made with new id) his is why i need to know if theres a way of changuing the url without redirecting the user or refreshing. Thanks Quote Link to comment Share on other sites More sharing options...
nadeemshafi9 Posted January 5, 2009 Author Share Posted January 5, 2009 they say that you can change the hash of the url eg after the hash for image maps without refreshing the page by using parent.location.hash = 'dd'; but how do u change the get variables ? Quote Link to comment Share on other sites More sharing options...
nadeemshafi9 Posted January 5, 2009 Author Share Posted January 5, 2009 they say parent.location.search gives you everything after and including the ? and allows you to change it WALA Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.