insert special characters in URL hash using JavaScript -


i want add hash url. example

http://somesite.com/somesubdomain#p1=1&p2=2&p3=3 

when try this, is:

http://somesite.com/somesubdomain#p1=1%23p2=2%23p3=3 

so, in short, how add special characters in url hash.

edit:

i using yui browser history manager.

var hash = "p1=1&p2=2&p3=3" yahoo.util.history.navigate("state",hash); 

the way you're supposed in yui appears like:

yahoo.util.history.navigate('p1','1'); yahoo.util.history.navigate('p2','2'); yahoo.util.history.navigate('p3','3'); 

if want browser url string http://somesite.com/somesubdomain#p1=1&p2=2&p3=3

the calendar example in docs demonstrates this.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -