var url1 = www.someurl.com/?name=ben&membershipno=54875
I want to encode this and then send it as a GET parameter of another URL.
var yourOtherURL = "http://yoursite.com/index.html?url=" + encodeURIComponent(url1);
It looks like you're new here. If you want to get involved, click one of these buttons!