How to modify css class using JQuery library?
Submitted by: AdministratorSuppose that Css class has following defination
.class
{
font-size:10px;
font-weight:normal;
color:#000000;
}
now we want to add border property on above class, so we should follow below code.
$(".class").css("border","1px solid blue");
Where $(".class") name of css class. Now .class will automatically add border property in his class definition.
Submitted by:
.class
{
font-size:10px;
font-weight:normal;
color:#000000;
}
now we want to add border property on above class, so we should follow below code.
$(".class").css("border","1px solid blue");
Where $(".class") name of css class. Now .class will automatically add border property in his class definition.
Submitted by:
Read Online Creative UI/UX Designers Job Interview Questions And Answers
Top Creative UI/UX Designers Questions
☺ | Explain what is jQuery UI? |
☺ | Can we submit a form by ajax using Jquery? |
☺ | What are different type of selectors in Jquery? |
☺ | Can you combine Jquery combined with other libraries? |
☺ | Name some of methods of JQuery used to provide effects? |
Top Data Structure Categories
☺ | Data Center Manager Interview Questions. |
☺ | Sort And Searching Interview Questions. |
☺ | Creative UI/UX Designers Interview Questions. |
☺ | Data Structure Linked list Interview Questions. |
☺ | Data Structure Arrays Interview Questions. |