Adding JavaScript to Next Button
-
I have added the following code to my custom js file:
(function($) {
$(‘.nextQuestion’).click(function(){
console.log(‘test’);
})
})( jQuery );But whenever I click on the next button on the quiz, it doesn’t seem to run. Is there something I’m missing to have this script execute on the next button click?
The topic ‘Adding JavaScript to Next Button’ is closed to new replies.