티스토리 뷰
ExtJS 시작하기
http://www.sencha.com/learn/legacy/Tutorial:Introduction_to_Ext_(Korean)
페이지 시작시...
| jQuery | ExtJS |
| $(function() { ... }); | Ext.onReady(function() { ... }); |
DOM 노드 선택
<input type="text" id="user_name" name="user_name" />
| 일반 | jQuery | ExtJS |
| var user_name = document.getElementById("user_name"); | var user_name = $('#user_name'); | var user_name = Ext.get('user_name'); |
DOM 노드 찾아서 선택
<p>paragraph 1</p>
<p>paragraph 2</p>
<p>paragraph 3</p>
| jQuery | ExtJS |
| var p = $('body').find('p'); | var p = Ext.select('p'); |
버튼 이벤트 다루기
<input type="button" id="btnGo" value="가자" />
| jQuery | ExtJS |
| $('#btnGo').click(function() { ... }); | Ext.get('btnGo').on('click', function() { ... }); |
'웹프로그래밍 > js' 카테고리의 다른 글
| [Sencha Touch] Theme 생성을 위한 Ruby, SASS, Compass (0) | 2012.03.08 |
|---|---|
| 텍스트 비교 구현 관련 (0) | 2012.03.06 |
| IE: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917) (5) | 2012.01.17 |
| jQuery Mobile 에서의 form (0) | 2012.01.03 |
| jQuery.postJSON ? (0) | 2012.01.03 |
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- IOS
- iis
- centos
- 워드프레스
- classic asp
- nodejs
- JQuery
- macos
- Wordpress
- Prototype
- PHP
- 안드로이드
- iphone
- Debug
- javascript
- mssql
- sencha touch
- Android
- 한글
- git
- Docker
- nginx
- Linux
- IE
- API
- JSON
- CSS
- Mac
- ASP
- laravel
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함