Can we apply css in div element using JQuery library?
Submitted by: AdministratorThis is example to apply css on a div element which have id name myDivId.
$("#myDivId ").css("border","3px solid red");
To apply css on all div elements use below code.$("div").css("border","3px solid red");
Where$("div") pointing all div elements in the page.For You need to use.$("P") on above code.
Submitted by:
$("#myDivId ").css("border","3px solid red");
To apply css on all div elements use below code.$("div").css("border","3px solid red");
Where$("div") pointing all div elements in the page.For You need to use.$("P") on above code.
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. |