jQuery.escapeSelector ()
jQuery.escapeSelector ()
설명 : CSS 선택자에서 특별한 의미를 갖는 문자를 이스케이프 처리합니다.
이 메서드는 클래스 이름이나 ID에 점이나 세미콜론과 같이 CSS에서 특별한 의미를 갖는 문자가 포함 된 경우에 유용합니다.
이 방법은 기본적으로 CSS 작업 그룹의 CSS.escape () 메소드에 대한 심입니다 . 주요 차이점은 $.escapeSelector()jQuery의 지원되는 모든 브라우저에서 안정적으로 사용할 수 있다는 것입니다.
예 :
해시가 포함 된 ID를 이스케이프 처리합니다.
$.escapeSelector( "#target" ); // "\#target"
div 클래스 이름이 .box안에있는 모든 요소를 선택하십시오 .
$( "div" ).find( "." + $.escapeSelector( ".box" ) );
게시글 목록
| 번호 | 제목 |
|---|---|
| 15854 |
jQuery
deferred.catch( failFilter )
|
| 15853 | |
| 15852 |
jQuery
.dblclick (handler)
|
| 15851 |
jQuery
제이쿼리 .data()
|
| 15849 |
jQuery
.css (propertyName)
|
| 15848 |
jQuery
.contextmenu( handler )
|
| 15847 |
jQuery
.contents()
|
| 15843 | |
| 15842 | |
| 15841 |
jQuery
.closest (selector)
|
| 15840 | |
| 15839 |
jQuery
제이쿼리 .click( handler )
|
| 15838 | |
| 15837 |
jQuery
제이쿼리 jQuery( ".class" )
|
| 15836 |
jQuery
제이쿼리 .children ([selector])
|
| 15835 |
jQuery
제이쿼리 jQuery ( ": checkbox")
|
| 15834 |
jQuery
제이쿼리 .change( handler )
|
| 15833 | |
| 15832 |
jQuery
제이쿼리 callbacks.locked ()
|
| 15831 |
jQuery
제이쿼리 callbacks.lock()
|
| 15830 | |
| 15829 | |
| 15828 |
jQuery
제이쿼리 callbacks.fired()
|
| 15826 | |
| 15825 | |
| 15824 |
jQuery
제이쿼리 callbacks.empty()
|
| 15823 |
PHP
rsa 암호화 클래스
|
| 15822 |
jQuery
제이쿼리 callbacks.disable ()
|
| 15821 | |
| 15820 |
jQuery
제이쿼리 .blur( handler )
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기