14 Maj 2009

Kodowanie ampa w JS

var ro = encodeURI(document.forms[0].elements[0].value).replace(RegExp("&","g"),"%26");
var u='t=1&r='+ro;