S
Sems
Hi
I have a piece of javascript that is generated like so...
strText += "<img style='cursor:hand' src='Resources/SurveyButtons/
Close.gif' onClick=javascript:window.open('ConfirmPage.aspx?
DisplayHeader=Yes&SurveyID=" + lngSurveyID + "','Results')>";
In the onclick event I want to close the current window then open
'ConfirmPage.aspx'. Whats the best way to do this? Can I close the
first
page then open the next, or should I be redirecting? If so whats the
best way to redirect using javascript?
Thanks
I have a piece of javascript that is generated like so...
strText += "<img style='cursor:hand' src='Resources/SurveyButtons/
Close.gif' onClick=javascript:window.open('ConfirmPage.aspx?
DisplayHeader=Yes&SurveyID=" + lngSurveyID + "','Results')>";
In the onclick event I want to close the current window then open
'ConfirmPage.aspx'. Whats the best way to do this? Can I close the
first
page then open the next, or should I be redirecting? If so whats the
best way to redirect using javascript?
Thanks