I have use below code to back for the previous page, but it\'s not working. the alert box still popup even i click ok on the page. actually there have 3 page include this windo
Use: window.history.back() instead .go();
window.history.back()
.go();
http://www.w3schools.com/jsref/met_his_back.asp
or use:
window.alert("Please choose Type of Redemption"); setTimeout(function(){ window.history.go(-1); },500);