For obvious security reasons you (thankfully) cannot "fake" the address bar
field using JavaScript.  Scammers & spammers would have a field day with
that.

You can, as Jonathan mentioned, update it using hashes.
See the history plugin:
http://stilbuero.de/jquery/history/


SEAN O
_____________
http://www.sean-o.com



Simpel wrote:
> 
> 
> Hi
> 
> I'm almost certain that this one is impossible but maybe someone out
> there has a solution....
> 
> We just released a site with a lot of ajax functions and now people
> starts asking questions about URL:s to certain parts of the site. The
> only trouble is that some of these parts are created by a series of
> user interactions and ajax calls i.e. there are now URL:s pointing to
> them since it's all ajaxified.
> 
> So. here's the question, is there any way that you can change the
> address field in the browser by the use of javascript and no page
> reloads?
> 
> I know you could inject the dom with history back stuff but we also
> want to update/fake the address field...
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/changing-the-adressbar-with-javascript-tf4646752s27240.html#a13280339
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to