Close to URL

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

-Chalenge

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


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