- 博客(1)
- 收藏
- 关注
转载 jQuery $obj.val() vs $obj.attr(“value”){转}
The gist is that .attr(...) is only getting the objects value at the start (when the html is created). val() is getting the object's property value which can change many times.
2014-04-23 09:49:50 1574 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人