What is the difference between prop and attr?
Answer / Sumit Raj Sharma
In jQuery, `prop()` gets or sets a DOM element's property value directly. On the other hand, `attr()` gets or sets an attribute from the HTML markup of a DOM element.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the name of jquery method used for an asynchronous http request?
What are the two types of CDNs?
What are different type of selector in jQuery?
How we can select multiple elements in jquery?
You get "jquery is not defined" or "$ is not defined" error. What could be the reason?
Tell me do I need to add the jquery file both at the master page and content page as well?
Define url paremeter of jquery ajax method?
What is called chaining?
How to disable jQuery animation?
Why we use jquery .each() function?
What is a cdn? : jQuery Mobile
Can you include multiple version of jQuery? If yes, then how they are executed?