Difference between revisions of "Goto web page upon click of Close button"

From Catglobe Wiki
Jump to: navigation, search
 
Line 11: Line 11:
  
 
<br/>[[File:Buttonclose.png]]
 
<br/>[[File:Buttonclose.png]]
 +
 +
[[Category:Questionnaire]]

Latest revision as of 09:20, 12 April 2017

If you want to go to your web page upon click Close button on End question,

Please insert your web page link to code below and paste them into question's JS of END QUESTION ( question was set to "END")


Question.bind('afterShowQuestion', function(question, answerSheet, element) {

 $('.close:eq(0)').click(function(){
 window.location = "Insert your web page link"; // 
 });
});


Buttonclose.png