we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "jquery dropdown selected value show field"
Neele
04 Aug 2016
1jQuery(document).ready(function() {
2    jQuery("#carm3").change(function() {
3        if (jQuery(this).val() === 'other'){ 
4            jQuery('input[name=other_interest]').show();   
5        } else {
6            jQuery('input[name=other_interest]').hide(); 
7        }
8    });
9});