Tuesday, December 20, 2011

JQuery to display and block the div


  if ($("#control_id").css('display') == "none")
     $("#control_id").css('display', 'block');
  else
     $("#control_id").css('display', 'none');