hide/show element using jQuery |
[eluser]danmontgomery[/eluser]
You shouldn't have more than one element with the same id attribute. This will cause problems for you with javascript. Also, as InsiteFX said, there's much better shorthand for jQuery. Code: $(function() { For checkboxes, you should use :checked. This looks something like: Code: $(function() { This is all covered pretty thoroughly in the jQuery documentation and jQuery forums. |
Messages In This Thread |
hide/show element using jQuery - by El Forum - 03-14-2011, 05:14 AM
hide/show element using jQuery - by El Forum - 03-15-2011, 05:15 PM
hide/show element using jQuery - by El Forum - 03-15-2011, 07:37 PM
hide/show element using jQuery - by El Forum - 03-16-2011, 04:24 AM
|