Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- jquery selector syntax question.


Fotiman - 10:02 pm on May 18, 2012 (gmt 0)


As long as id is unique, that should work, though the callback function sets this to the DOM element being operated on (which is the select element), so you're better off to use $(this) in place of the selector you're using in the callback so that it doesn't need to search for it again.


Thread source:: http://www.webmasterworld.com/javascript/4455122.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com