function URLencode(sStr) {
return escape(sStr)
.replace(/\+/g, '%2B')
.replace(/\"/g,'%22')
.replace(/\'/g, '%27');
}
Encode the following URL : www.google.com/search?q=Real's HowTo
Written and compiled by Réal Gagnon ©1998-2005
[ home ]