글
Web/Javascript 2011/11/05 21:57html5 data-attribute javascript로 사용하기
Using data- attributes with JavaScript Now that we understand what custom data- attributes are and when we can use them, we should probably take a look at how we can interact with them using JavaScript. If we wanted to retrieve or update these attributes using existing, native JavaScript, then we can do so using the getAttribute and setAttribute methods as shown below:
'Web > Javascript' 카테고리의 다른 글
| html5 data-attribute javascript로 사용하기 (0) | 2011/11/05 |
|---|---|
| CommonJS - not just for browsers any more! (0) | 2011/07/26 |
| jQuery 압축 (0) | 2010/11/02 |
| jQuery widget 에 관하여. (0) | 2010/10/21 |
| jQuery 간단 스터디 계속 - Class 지향 플러그인 개발등 (0) | 2010/10/20 |
| jQuery에 대한 간단한 스터디 정리 (0) | 2010/10/01 |
RECENT COMMENT