Skip to main content

use code below

<script> $(document).ready(function () { 

$("[id$='chkSendMail']").attr("onchange", "ShowMailSection()"); }

function ShowMailSection() {

  $("[id$='chkSendMail']").attr("onchange", "ShowMailSection()"); } function ShowMailSection() {  if ($("[id$='chkSendMail'][type='checkbox']:checked").length >0){    $("[id$='SecEmail']").removeClass("Hide");   } </script> 
  

use code below

<script> $(document).ready(function () { 

$("[id$='chkSendMail']").attr("onchange", "ShowMailSection()"); }

function ShowMailSection() {

  if ($("[id$='chkSendMail'][type='checkbox']:checked").length >0){    $("[id$='SecEmail']").removeClass("Hide");   } 
 

use code below

<script> $(document).ready(function () { $("[id$='chkSendMail']").attr("onchange", "ShowMailSection()"); } function ShowMailSection() {  if ($("[id$='chkSendMail'][type='checkbox']:checked").length >0){ $("[id$='SecEmail']").removeClass("Hide"); } </script> 
 
Source Link
Code_Worm
  • 4.5k
  • 3
  • 34
  • 37

use code below

<script> $(document).ready(function () { 

$("[id$='chkSendMail']").attr("onchange", "ShowMailSection()"); }

function ShowMailSection() {

 if ($("[id$='chkSendMail'][type='checkbox']:checked").length >0){ $("[id$='SecEmail']").removeClass("Hide"); }