/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("input[name='ep']").change(function(){ if ($("input[name='ep']:checked").val() == 'no') $('#yourpt').hide(); else if ($("input[name='ep']:checked").val() == 'yes') $('#yourpt').show(); });