-
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
If I setup it to show on all input it works great, but if I try to put it on both input and select elements, only the first select work and then it disables the script for everything that follows. On the other hand, the script executes everything well before the end of the first select element!
this is what Dev Tools generate in the Console:
jquery.min.js:2 jQuery.Deferred exception: Mare is not defined ReferenceError: Mare is not defined
at eval (eval at <anonymous> (http://tzr.ro/template/admin/wrs.php:4:6), <anonymous>:2:9)
at HTMLSelectElement.<anonymous> (http://tzr.ro/template/admin/wrs.php:464:6)
at Function.each (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:2715)
at r.fn.init.each (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:1003)
at HTMLDocument.<anonymous> (http://tzr.ro/template/admin/wrs.php:463:23)
at j (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:29999)
at k (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:30313) undefined
r.Deferred.exceptionHook @ jquery.min.js:2
k @ jquery.min.js:2
setTimeout (async)
(anonymous) @ jquery.min.js:2
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
fire @ jquery.min.js:2
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
S @ jquery.min.js:3
jquery.min.js:2 Uncaught ReferenceError: Mare is not defined
at eval (eval at <anonymous> (wrs.php:4), <anonymous>:2:9)
at HTMLSelectElement.<anonymous> (wrs.php:464)
at Function.each (jquery.min.js:2)
at r.fn.init.each (jquery.min.js:2)
at HTMLDocument.<anonymous> (wrs.php:463)
at j (jquery.min.js:2)
at k (jquery.min.js:2)
Mare and Mediu are the Options in the Select Element!
Metadata
Metadata
Assignees
Labels
No labels