How 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: Administrator
$(”#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: Administrator
Read Online JQuery UI Job Interview Questions And Answers
Top JQuery UI Questions
☺ | What are features of JQuery or what can be done using JQuery? |
☺ | Can you explain JQuery UI? |
☺ | What is jQuery UI? |
☺ | What are the different type of selectors in Jquery? |
☺ | Name some of the methods of JQuery used to provide effects? |
Top Scripting language Categories
☺ | AngularJS Interview Questions. |
☺ | Ext-JS Interview Questions. |
☺ | Dojo Interview Questions. |
☺ | Expert Developer JavaScript Interview Questions. |
☺ | jQuery Mobile Interview Questions. |