Possible Duplicates:
.prop() vs .attr()
What is the differnece between doing
$('div').prop('title','whatever'); //set
$('div').prop('title'); //get
and
$('div').attr('title','whatever'); //set
$('div').attr('title'); //get
prop()
seems to behave the same as attr()
in the case of div attribute. I read the 1.6 documentation for this but i'm still a little confused.
THIS IS NOT EXACT DUPLICATE OF .prop() vs .attr(). This post doesn't answer the question. Please do not close it.