Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on Select elements #46

Open
seularts opened this issue Nov 27, 2017 · 0 comments
Open

Doesn't work on Select elements #46

seularts opened this issue Nov 27, 2017 · 0 comments

Comments

@seularts
Copy link

seularts commented Nov 27, 2017

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant