Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Programming General (http://siteownersforums.com/forumdisplay.php?f=44)
-   -   Hide div when certain checkbox is ticked (http://siteownersforums.com/showthread.php?t=52250)

wryfhk22 11-03-2011 12:54 AM

Hide div when certain checkbox is ticked
 
My javascript knowlage is very limited so i was wondering whether anyone could help me.

How would i go about hiding a div that has a certain class when a checkbox with a certain ID is ticked?

Also i cant add any javascript to the checkbox input field so it has to be singled out by its ID. Naturally when the checkbox is not ticked the div in question has to be visible.

Much thanks!


All times are GMT -7. The time now is 03:46 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.