Open a new window browser from jquery dialog

Open a new window browser from jquery dialog

I have a situation where i will have pass a value from the dialog window and that should open up a new browse with querystring have the value that im passing.. Here is the code that i trying to use. can some tell me what is wrong here or if there is another method to accomplish this..
 
thanks for your help in advance..
 
code snippet....
 
$(
'a[href^="http://devnetprov/OrderMain.aspx?Orderid="' + $( '#tbNPNumber' ).val() + '"]' ).attr( "target" , "_blank" );
 
with this code it is not happening.. I keep getting "Object doesn't support this property or method"