syntax error: unexpected token <

后端 未结 15 2163
一整个雨季
一整个雨季 2020-11-29 02:20

I\'ve tried many things and there\'s no way, always appears this error I tried to use only one option to see if passed, changed the call of jquery, but not.

I looked

15条回答
  •  北海茫月
    2020-11-29 03:05

    You have unnecessary ; (semicolons):

    Example here:

     }else{
            $('#resposta').addClass('warning-box').html('É necessário no mínimo duas opções');
        };
    

    The trailing ; after } is incorrect.

    Another example here:

    }else{
        $('#resposta').addClass('warning-box').html('Coloque a pergunta da enquete');
    };
    

提交回复
热议问题