jquery - What is ISCJS.cl? Uncaught ReferenceError -


so, long story short, don't know js or jquery @ all. have friend, however, does. sounds ridiculous, wrote me bit of code before leaving country on tour of europe , i'm getting uncaught referenceerror. can't hold of him, because he's gone now, , need working. i'm getting error:

uncaught referenceerorr: iscjs not defined

and here's code:

 function selectnextchoice(option, choice) {         iscjs.cl('init: selectnextchoice( option, ' + choice + ' )');         if (choice > 3) {             return;         }         if ($choices.find('#choice' + choice + ' .option').length ==             0) {             $clone = option.clone();             if ('undecided' != option.data('option')) {                 option.data({                     'selected': true,                     'number': choice                 }).addclass('selected');                 option.find('> .overlay').html(choice);                 $clone[0].setattribute('draggable', false);             }             $choices.find('#choice' + choice)[0].setattribute(                 'data-choice', option.data('option'));             $('#selection' + choice).val(option.data('option'));             $choices.find('#choice' + choice).css('border-color',                 'transparent').html($clone).append(                 '<span class="exit fa fa-times"></span>');         } else {             choice++;             selectnextchoice(option, choice);         }     } 

i don't know i'm doing. i've learned css, html, , php, starting learn js , jquery, i'm lost. help!

try doing before using iscjs:

if(typeof iscjs !== "undefined"){    iscjs.cl('init: selectnextchoice( option, ' + choice + ' )');  } else {    console.log("error: iscjs not defined");  } 

if error message "error: iscjs not defined" on console iscjs not defined, is, did not initialise iscjs inside code.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -