Jquery mobile select option change event

Jquery mobile select option change event

Posted: vanguard_rgu Date: 16.06.2017

I have dynamic select drop-down menus. For example, if you select a specific month, the 2nd select element will populate with number of days in that month. This works as intended, however when the user is on an iPhone and uses the "Next" button built into Mobile Safari's "form assistant", the change event using jQuery doesn't appear to fire and the 2nd select does not update. You could also bind some additional events like blur don't know if blur does fire on iphone though. Using the plugin from the link aboveI had to force the select menu to blur as soon as an option was chosen with Mobile Safari's "form assistant".

jquery mobile select option change event

I noticed however when brute force testing these menus an extra blur event would fire after a few reuters stock markets today india selections.

An extra focus seemed to fix that.

Php : How To Get Select Option Value From MySQL Database Using Php [ with source code ]

By posting your answer, you agree to the privacy policy and terms of service. Jquery mobile select option change event Overflow Questions Developer Jobs Documentation beta Tags Users. Sign up or log in to customize your list.

change event not firing on select menu in jquery mobile - Stack Overflow

Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow jquery mobile select option change event company Business Learn more about hiring developers or posting ads with us.

Log In Sign Up. Join the Stack Overflow Community.

select onchange event not triggered · Issue # · jquery/jquery-mobile · GitHub

Stack Overflow is a community of 7. Join them; it only takes a minute: I'm thinking this may just be a mobile safari bug.

.change() | jQuery API Documentation

Thanks for the suggestion. I tried several different events as I thought that might be the issue. Was not able to get any to fire. The month select is static in the DOM so the live function I don't believe is necessary.

I gave it a shot anyhow and no luck. I found it here stackoverflow.

The best work-around I could find was based on this post Sign up or log in StackExchange. Sign up using Facebook.

Sign up using Email and Password. Post as a guest Name. Stack Overflow works best with JavaScript enabled. MathOverflow Mathematics Cross Validated stats Theoretical Computer Science Physics Chemistry Biology Computer Science Philosophy more 3.

Meta Stack Exchange Stack Apps Area 51 Stack Overflow Talent.

inserted by FC2 system