Jump to content
Toggle menu
  • 915 articles
  • 3.8K files
  • 30.2K users
  • 279.2K edits
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Close to URL: Difference between revisions

From Catglobe Wiki
No edit summary
Line 2: Line 2:
<br>You want the respondent to be automatically redirected to a URL when he clicks on the Close button
<br>You want the respondent to be automatically redirected to a URL when he clicks on the Close button
== Example ==
== Example ==
<br> When use finished the questionnaire , you want to redirect to webshop
<br> When user finished the questionnaire , you want them to redirect to webshop
 
== Code ==
== Code ==
<source lang="javascript" line="1">
<source lang="javascript" line="1">

Revision as of 09:01, 2 March 2009

Challenge


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

Example


When user finished the questionnaire , you want them to redirect to webshop

Code

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