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
Post a Comment