How to apply CSS to label using for attribute in JQuery?

Younger Kid Asked on December 25, 2015 in Jquery.
Add Comment
  • 1 Answer(s)

      To target and apply CSS to label using for attribute

      For example i have a label with for attribute ID #ial_cl Like

      <label name="so and so" id="so and so" for="ial_cl">

      Here is the Jquery to apply CSS

      $('label[for="ial_cl"]').css('display','none');
      Younger Kid Answered on December 25, 2015.
      Add Comment

      Your Answer

      By posting your answer, you agree to the privacy policy and terms of service.