Side navigation
#12644 closed bug (notabug)
Opened October 03, 2012 03:51PM UTC
Closed October 03, 2012 03:56PM UTC
Tag select and .on() method problem
| Reported by: | davide.falchetto@gmail.com | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.8.1 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
Hi!
I find a bug on jQuery Core (ver. 1.8.1 - 1.8.2).
When I use the methos on('change') on a select tag, it don't work.
If instead of .on('change') I use .live('change') everything works regularly...
Example:
DON'T WORK
jq( '#structures' ).on( 'change', function( ) {
alert( 'COME ON!!!!!' );
});
WORK
jq( '#structures' ).live( 'change', function( ) {
alert( 'COME ON!!!!!' );
});
I try with ver. 1.8.1 and 1.8.2.
Attachments (0)
Change History (1)
Changed October 03, 2012 03:56PM UTC by comment:1
| resolution: | → notabug |
|---|---|
| status: | new → closed |
You're using it wrong. Please ask for help on our forum or StackOverflow.