1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

Java: jQuery .prop() vs .attr()

  1. Clicks today:
    0
  2. Clicks this month:
    5
  3. Overall rating:
    0.00/5

Java » Basics — almost 2 years ago
Get the value of an attribute for the first element in the set of matched elements.An attribute value may only be a string.The attributes contains basic information along with some additional information about an HTML element and come in name=”value” pairs. The attributes gets changed for that html tag using .attr.For more visit the link mentioned.

Comments

Your Comment

You must be logged in to post a comment.