Timeline for How to check if an option is selected?
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2017 at 12:17 | history | edited | URL Rewriter Bot | replaced http://stackoverflow.com/ with https://stackoverflow.com/ | |
| Feb 28, 2013 at 21:37 | history | edited | iambriansreed | CC BY-SA 3.0 | added 142 characters in body |
| Apr 18, 2012 at 18:04 | vote | accept | 0x56794E | ||
| Apr 18, 2012 at 16:44 | comment | added | iambriansreed | @gmoron No, my question was down voted and up voted. Good detective work though. | |
| Apr 18, 2012 at 16:43 | comment | added | gdoron | It looks like you downvoted all the "competing answers", I hope I'm wrong. | |
| Apr 18, 2012 at 16:38 | comment | added | iambriansreed | @gdoron I totally agree with you. Maybe those of us brought up on jQuery need to take a remedial JavaScript class. :) | |
| Apr 18, 2012 at 16:36 | history | edited | iambriansreed | CC BY-SA 3.0 | added 122 characters in body |
| Apr 18, 2012 at 16:36 | comment | added | gdoron | People keep thinking that jQuery isn't javascript, well... it's an abstraction library above javascript, it definitely shouldn't replace javascript! | |
| Apr 18, 2012 at 16:34 | comment | added | iambriansreed | @gdoron this.selected is completely valid but he asked for the proper jQuery way to do it. | |
| Apr 18, 2012 at 16:31 | comment | added | gdoron | It looks like you didn't read my answer. this.selected can be used instead of $(this).is(":selected") I guess there is no need for a jsperf for this, right? I have nothing against using jQuery!, but use it when you need it, not when it give nothing but overhead and more code. | |
| Apr 18, 2012 at 16:29 | comment | added | gdoron | It uses jQuery for no good reason. use the native js DOM properties. take a look on this | |
| Apr 18, 2012 at 16:29 | history | edited | iambriansreed | CC BY-SA 3.0 | added 236 characters in body |
| Apr 18, 2012 at 16:20 | history | answered | iambriansreed | CC BY-SA 3.0 |