Monthly Archives: July 2010

Amazium.be blog about PHP and MySQL

For very specific and detailed info about PHP and MySQL related stuff, go to the Amazium blog. It is maintained by Jeroen Keppens (a former collegue of mine).

Showing or hiding certain elements depending on option list

A few times already I found myself doing al sorts of special stuff to show or hide certain html elements (mostly input fields) depending on the selected value of a dropdown. After searching the web a bit, I found the following link which makes this really easy and manageable :

http://fusiongrokker.com/post/a-better-way-to-show-and-hide-things-with-jquery

It uses JQuery but it should be usable using other libraries as well… Have fun hiding !