views:

55

answers:

1

Hi

If i wanted to add 2 suppose name and id values to URL. How can i do that using JavaScript? Suppose we have URL http://localhost/demo/ then how to add these 2 parameters...

Thanks..

A: 
"http://localhost/demo/" + "?name=" + escape(name_var) + "&id=" + escape(id_var) 
Dutow
but how can i add in my code so that it can work properly....
rajesh