Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
I think i am having a block.

I am running an asp.net application and i used Jquery to pass values to a web service when the web service completes it posts back a value for the, I have created a variable to hold the value received from the web service and i would like to redirect to a page in my application and use the variable as the query string

Please could you assist
Posted
Comments
F-ES Sitecore 1-Jun-15 9:57am    
Use a form instead.

1 solution

JavaScript
function redirect(querystring){

 var url = "http://www.newlocation.com"

 if(querystring && querystring.length)

 url = url+querystring;

 window.location=url ;

}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900