[jQuery] how to the pass element to a plugin ?
Hi
I am calling my plugin this way :
$().accordionQuizz('accordion');
my plugin gets the param this way :
jQuery.fn.accordionQuizz = function(accordion){
jQuery(accordion+' input[@type=radio], #'+accordion+' label').each(function(){
How to do in order to call the plugin this way :
$('#accordion').accordionQuizz();
thanks
Olivier