-
removeProp()개발 관련/JQuery 2011. 10. 20. 11:37
The.removeProp()
method removes properties set by the.prop()
method.
Additional Notes:
In Internet Explorer prior to version 9, using
.prop()
to set a DOM element property to anything other than a simple primitive value (number, string, or boolean) can cause memory leaks if the property is not removed (using.removeProp()
) before the DOM element is removed from the document. To safely set values on DOM objects without memory leaks, use.data()
.
--> IE 9이전 버전에서는 메모리 누수가 발생할 수 있습니다. 메모리 누수없이 안전하게 변경할려면.data()
를 사용해야합니다.
참조: http://api.jquery.com/removeProp/'개발 관련 > JQuery' 카테고리의 다른 글
jQuery를 이용해서 XML을 DOM으로 변환 (0) 2012.02.15 jQuery .serialize() (0) 2011.08.01 JQuery 이벤트 , 메소드 (0) 2011.05.18 bind() (0) 2011.05.18 Downloading jQuery (0) 2010.11.17