Timeline for Why does the jquery change event not trigger when I set the value of a select using val()?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 22, 2019 at 17:33 | comment | added | sMyles | @jwebb you can check this.selector inside the overriding $.fn.val function, for a specific selector (will be dependent on what is used for the selector). This is the best i've found for doing this only for specific fields, only problem is you must know what they are using for the selector | |
| Sep 14, 2018 at 3:51 | comment | added | jwebb | I mean, @user2075039, what if there are multiple inputs on the page using the jQuery val() function and you don't want to bind the custom change event handler to ALL of them but just one of them? | |
| Sep 13, 2018 at 14:07 | comment | added | Richard van den Winkel | @jwebb Not quite sure what you mean? We're overriding the jQuery val() function. You bind a change event handler to a specific input. | |
| Jul 20, 2018 at 15:33 | comment | added | jwebb | This is good, but can you show how you would limit it to just one particular input? | |
| Dec 1, 2016 at 10:47 | review | Late answers | |||
| Dec 1, 2016 at 10:49 | |||||
| Dec 1, 2016 at 10:24 | history | answered | Richard van den Winkel | CC BY-SA 3.0 |