·
1 min read
jQuery attr('value') and val()
Here is a short tip about using **$(obj).val()** and **$(obj).attr('value')**. I was fixing a bug in ajax request with some params then i found that there is a difference val() method ...
jquery
val()
attr('value')