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

JS events not working #121

Open
osintaras opened this issue Nov 11, 2021 · 2 comments
Open

JS events not working #121

osintaras opened this issue Nov 11, 2021 · 2 comments

Comments

@osintaras
Copy link

Hello! Good job!
But jquery events on select not working!
html:
<select class="form-control" id="tid" name='tid' is="ms-dropdown" data-visible-rows='10' > <option value='...' data-image='...'>...</option> </select>
and js:
$('body').on('change', '#tid', function(){ alert('changed!'); });
When option is changed there is no alert!

@marghoobsuleman
Copy link
Owner

@osintaras Okay. will check this.

@FtrSpec
Copy link

FtrSpec commented Jan 23, 2023

Versus creating new issue, this may be related.
Javascript onchange event constantly fires:
<select name="tech" is="ms-dropdown" onchange="alert(this.value)">..
remove is="ms-dropdown" onchange fires once on change as expected

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

3 participants