2012년 7월 4일 수요일

[jQuery] attr() 과 prop() 차이점



Attribute/Property.attr().prop()
accesskey✓
align✓
async✓✓
autofocus✓✓
checked✓✓
class✓
contenteditable✓
defaultValue
✓
draggable✓
href✓
id✓
label✓
location *✓✓
multiple✓✓
nodeName
✓
nodeType
✓
readOnly✓✓
rel✓
selected✓✓
selectedIndex
✓
src✓
style✓
tabindex✓
tagName
✓
title✓
type✓
width **✓


http://blog.jquery.com/2011/05/12/jquery-1-6-1-released/ 에서 퍼옴

댓글 없음: