how to redirect a page in javascript with passing values to another page -


window.location="http://test.rgniyd.com/test1/?q=node/36/"&dept="+ dept +"&bath="+   bat +"&month=+month+"&year="+year+"&semester="+sem"; 

how redirect page http://test.rgniyd.com/test1/?q=node/36/ values in
javascript. above code not working , please or please suggest me how redirect page without clearing session values in javascript

change javascript as

window.location="http://test.rgniyd.com/test1/?q=node/36/&dept=" + dept + "&bath=" + bat + "&month=" + month + "&year=" + year + "&semester=" + sem; 

because have misplaced double quotes "


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -