I\'m looking for a jQuery plugin that can get URL parameters, and support this search string without outputting the JavaScript error: \"malformed URI sequence\". If there is
$.urlParam = function(name){ var results = new RegExp('[\\?&]' + name + '=([^]*)').exec(top.window.location.href); return (results !== null) ? results[1] : 0; } $.urlParam("key");