How to redirect textbox values from one form to other

How to redirect textbox values from one form to other

 
I have one form where I need to get value from the first form, I am able to redirect the value which I want but unable to receive it...
I am Redirecting as shown below:
 
var Redirect="";
Redirect += " Http://abc.com";
Redirect += "?PNo="+$("input[title='PersonnelNumber']").val();
window.location = Redirect;

 
in the abc.com page I am trying ot receive the value in the following way:
 
var PNo = getQueryString("PNo");
 
but this is not working... the form is not functioning if this line is added....
 
Please guide me how do I receive the value...
 
 
Thanks in Advance