In a JSP page, I have a dropdown list. When the first element of the list is selected, I want a text area to show right on click. I\'m new to Javascript/Jquery, so I\'m obvi
you can use jquery also.
$('#show').val(); if( $('#show').val() == "1") { $('#text_area').show(); OR $("#text_area").css("visibility", "visible"); }else { $('#text_area').hide(); OR $("#text_area").css("visibility", "hidden"); }