adspace
How can you apply a style on an element using jQuery?
Answer Posted / Rakesh Priya
You can apply a style to an element in jQuery by using the css() method. Here's an example: `$('#myElement').css('color', 'red')`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you install/use jquery in a project. What is the minimum setup needed to start using jquery.
How to always reference latest version of jquery?
How to validate email using jquery?
What is the minimum setup needed to start using jquery.
How can jquery library be added to pages?
Do you have plans for a new jquery plug-in or something else we should look out for? Where to from here for the imgpreview plugin?