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 do this in jQuery.....like " $(document).ready(function(){
var seletVal=$('#show option:selected').val(); if(selectVal=='1') $('#textareaId').show(); else $('#textareaId').hide(); });
"