Javascript to redirect to a page with ‘&’ arguments   April 17th, 2008

Use unescape(“%26″) to put an ampersand (&) in redirection URLs with javascript…

<script type=”text/javascript”>
var myURL = “http://del.icio.us/cwilmire?setcount=100″ + unescape(“%26″) + “settagview=cloud”;
window.location = myURL;
</script>

This entry was posted on Thursday, April 17th, 2008 at 3:37 pm and is filed under General, scripting. You can follow any responses to this entry through the RSS 2.0 feed.Responses are currently closed, but you can trackback from your own site.

No Responses