Close to URL

From Catglobe Wiki
Revision as of 10:00, 2 March 2009 by Catglobe (talk | contribs)
Jump to: navigation, search

Challenge


You want the respondent to be automatically redirected to a URL when he clicks on the Close button

Example


When use finished the questionnaire , you want to redirect to webshop

Code

1 function closeToURL()
2 {
3 	document.location = "http://www.catglobe.com";
4 }
5 quest.close = closeToURL;