jQuery 1.4에서 바뀐 것들
http://api.jquery.com/category/version/1.4/
jQuery 1.4 API Cheat Sheet
-
.add( selector, context )
-
.addClass( function(index, class) )
-
.after( function(index) )
-
.append( function(index, html) )
-
.before( function )
-
.clearQueue( [ queueName ] )
-
.closest( selector, [ context ] )
-
jQuery.contains( container, contained )
containerThe DOM element that may contain the other element.
containedThe DOM node that may be contained by the other element.
-
.css( propertyName, function(index, value) )
propertyNameA CSS property name.
function(index, value)A function returning the value to set. Receives the index position of the element in the set and the old value as arguments.
-
.data( obj )
-
jQuery.data()
-
.delay( duration, [ queueName ] )
durationAn integer indicating the number of milliseconds to delay execution of the next item in the queue.
queueNameA string containing the name of the queue. Defaults to
fx, the standard effects queue. -
.detach( [ selector ] )
selectorA selector expression that filters the set of matched elements to be removed.
-
.first()
Reduce the set of matched elements to the first in the set.
-
.focusin( handler(eventObject) )
handler(eventObject)A function to execute each time the event is triggered.
-
.focusout( handler(eventObject) )
handler(eventObject)A function to execute each time the event is triggered.
-
.has( selector ), .has( contained )
selectorA string containing a selector expression to match elements against.
containedA DOM element to match elements against. -
.html( function(index, html) )
function(index, html)A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments.
-
.index(), .index( selector )
selectorA selector representing a jQuery collection in which to look for an element.
-
jQuery.isEmptyObject( object )
objectThe object that will be checked to see if it's empty.
-
jQuery.isPlainObject( object )
objectThe object that will be checked to see if it's an object literal.
-
jQuery( html, props )
-
.last()
Reduce the set of matched elements to the final one in the set.
-
.nextUntil( [ selector ] )
-
jQuery.noop()
An empty function.
-
.offset( coordinates ), .offset( function(index, coords) )
-
jQuery.param( obj, traditional )
-
.parentsUntil( [ selector ] )
selectorA string containing a selector expression to indicate where to stop matching ancestor elements.
-
.prepend( function(index, html) )
-
.prevUntil( [ selector ] )
selectorA string containing a selector expression to indicate where to stop matching preceding sibling elements.
-
.removeAttr()
Remove an attribute from each element in the set of matched elements.
-
.removeClass( function(index, class) )
-
.replaceWith( function )
-
.text( function(index, text) )
-
.toArray()
Retrieve all the DOM elements contained in the jQuery set, as an array.
-
.toggleClass( function(index, class), [ switch ] )
-
.unwrap()
Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.
-
.val( function )
-
.wrap( wrappingFunction )
-
.wrapAll()
Wrap an HTML structure around all elements in the set of matched elements.
-
.wrapInner( wrappingFunction )
'PC&웹 > 웹프로그래밍' 카테고리의 다른 글
| (jQuery) 의정부시 CCTV 소스 강좌 - DIV 재정렬 (0) | 2010/01/22 |
|---|---|
| (jQuery) 의정부시 CCTV 소스 강좌 - 마우스 스크롤 확대·축소 (0) | 2010/01/22 |
| jQuery 1.4에서 바뀐 것들 (0) | 2010/01/22 |
| (jQuery) 의정부시 CCTV 소스 강좌 - 툴팁, 마우스 오버 효과 (2) | 2010/01/21 |
| (jQuery) 의정부시 CCTV 소스 강좌 - 초기화 버튼 토글 (0) | 2010/01/21 |
| (jQuery) 의정부시 CCTV 소스 강좌 - 프리셋 선택하기 (0) | 2010/01/21 |
Visitors:
PageViews:


댓글을 달아 주세요