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

jQuery triggers #261

Open
edwardrbaker opened this issue Aug 17, 2017 · 2 comments
Open

jQuery triggers #261

edwardrbaker opened this issue Aug 17, 2017 · 2 comments

Comments

@edwardrbaker
Copy link

Is it possible to have an update to fire jQuery triggers? When selecting a value for a RadioButtonGroup, our page isn't catching the event. It should be as simple as adding ".trigger('click')" to the end of the Radio (and maybe Select) groups.

@mwhelan
Copy link
Member

mwhelan commented Aug 20, 2017

Hi @erbaker . I don't quite follow what you are asking. Could you please provide a bit more detail on the scenario you are trying to automate with Seleno? Are you using ASP.Net MVC5?

@edwardrbaker
Copy link
Author

Hi @mwhelan ,
We have radio buttons on our page, and a jQuery event listener for onClick() on the radios. When seleno selects a radio button, it's setting the attribute (.attr('checked', true)) which does not fire the onClick() event of our radio buttons.

I can submit a PR as an example, and it might make more sense. Let me know.

Ed

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

2 participants