1

Under: http://polesto.com/pole-quiz# I'm trying to get jQuery plugin to excecute, but currently I'm facing a dead-end. The jquery is run under noConflict mode, but the excecution is not running under these or many other trial runs.

Anyone care to enlighten me, as js with magento

LBnF
  • 13
  • 2

1 Answers1

1

I get this error SyntaxError: missing ) after argument list.
The code that generates this error is

jQuery(function() {
    jQuery( $(function () {
$('#slickQuiz').slickQuiz({
    // options
        }); 
    });
});

Looks to me that there are a lot of jQuery calls in there.
not sure, but most probably the code should look like this:

    jQuery( function ($) {
       $('#slickQuiz').slickQuiz(); 
    });
Marius
  • 197,939
  • 53
  • 422
  • 830
  • Thank you, the problem was even simpler, the html-tags within the page had been edited to noncompliant form, by the wysiwyg-editor. – LBnF Sep 23 '14 at 08:55