How to apply css using JQuery?
To apply display none to specific element using Class or ID
For ID ::: $('#ial-college').css('display', 'none'); For Class :: $('.ial-college').css('display', 'none');
To change the background color to specific element using Class or ID
$('#ial-college').css('display', '#ffffff'); $('.ial-college').css('display', '#ffffff');
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');