Using jquery to determine selected option causes “specified attribute is deprecated” warning
- 阅读更多 关于 Using jquery to determine selected option causes “specified attribute is deprecated” warning
问题 Probably missing something pretty obvious but I can't figure out what is going on. I am trying to use jquery to determine the currently selected option in a dropdown (See fiddle) but when I do something like the following I get a Warning in the (FF9) console. var selectedValue=$('#testSelect option:selected').val(); Warning Message: Warning: Use of attributes' specified attribute is deprecated. It always returns true. Am I doing something wrong? Is this something I should be concerned with?