Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

onchange select dropdown jquery

$(function(){

 $("#status").change(function(){
     var status = this.value;
     alert(status);
   if(status=="1")
     $("#icon_class, #background_class").hide();// hide multiple sections
  });

});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #onchange #select #dropdown #jquery
ADD COMMENT
Topic
Name
5+3 =