jQuery Functions Flashcards

1
Q

.add()

A

Add elements to the set of matched elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

.addBack()

A

Add the previous set of elements on the stack to the current set, optionally filtered by a selector.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

.addClass()

A

Adds the specified class(es) to each of the set of matched elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

.after()

A

Insert content, specified by the parameter, after each element in the set of matched elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

.ajaxComplete()

A

Register a handler to be called when Ajax requests complete. This is an AjaxEvent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

.ajaxError()

A

Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

.ajaxSend()

A

Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

.ajaxStart()

A

Register a handler to be called when the first Ajax request begins. This is an Ajax Event.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

.ajaxStop()

A

Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

.ajaxSuccess()

A

Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

AllSelector(“*”)

A

Selects all elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

.andSelf()

A

Add the previous set of elements on the stack to the current set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

.animate()

A

Perform a custom animation of a set of CSS properties.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

:animated Selector

A

Select all elements that are in the progress of an animation at the time the selector is run.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

.append()

A

Insert content, specified by the parameter, to the end of each element in the set of matched elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

.appendTo()

A

Insert every element in the set of matched elements to the end of the target.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

.attr

A

Get the value of an attribute for the first element in the set of matched elements or set one or more attributes for every matched element.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Attribute Contains Prefix Selector [name|=”value”]

A

Selects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Attribute Contains Selector [name*=”value”]

A

Selects elements that have the specified attribute with a value containing the a given substring.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Attribute Contains Word Selector [name~=”value”]

A

Selects elements that have the specified attribute with a value containing a given word, delimited by spaces.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Attribute Ends With Selector [name$=”value”]

A

Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Attribute Equals Selector [name=”value”]

A

Selects elements that have the specified attribute with a value exactly equal to a certain value.

23
Q

Attribute Not Equal Selector [name!=”value”]

A

Select elements that either don’t have the specified attribute, or do have the specified attribute but not with a certain value.

24
Q

Attribute Starts With Selector [name^=”value”]

A

Selects elements that have the specified attribute with a value beginning exactly with a given string.

25
Q

.before()

A

Insert content, specified by the parameter, before each element in the set of matched elements.

26
Q

.bind()

A

Attach a handler to an event for the elements.

27
Q

.blur()

A

Bind an event handler to the “blur” JavaScript event, or trigger that event on an element.

28
Q

:button Selector

A

Selects all button elements and elements of type button.

29
Q

callbacks.add()

A

Add a callback or a collection of callbacks to a callback list.

30
Q

callbacks.disable()

A

Disable a callback list from doing anything more.

31
Q

callbacks.disabled()

A

Determine if the callbacks list has been disabled.

32
Q

callbacks.empty()

A

Remove all of the callbacks from a list.

33
Q

callbacks.fire()

A

Call all of the callbacks with the given arguments

34
Q

callbacks.fired()

A

Determine if the callbacks have already been called at least once.

35
Q

callbacks.fireWith()

A

Call all callbacks in a list with the given context and arguments.

36
Q

callbacks.has()

A

Determine whether a supplied callback is in a list

37
Q

callbacks.lock()

A

Lock a callback list in its current state.

38
Q

callbacks.locked()

A

Determine if the callbacks list has been locked.

39
Q

callbacks.remove()

A

Remove a callback or a collection of callbacks from a callback list.

40
Q

.change()

A

Bind an event handler to the “change” JavaScript event, or trigger that event on an element.

41
Q

:checkbox Selector

A

Selects all elements of type checkbox.

42
Q

:checked Selector

A

Matches all elements that are checked or selected.

43
Q

Child Selector (“parent > child”)

A

Selects all direct child elements specified by “child” of elements specified by “parent”.

44
Q

.children()

A

Get the children of each element in the set of matched elements, optionally filtered by a selector.

45
Q

Class Selector (“.class”)

A

Selects all elements with the given class.

46
Q

.clearQueue()

A

Remove from the queue all items that have not yet been run.

47
Q

.click()

A

Bind an event handler to the “click” JavaScript event, or trigger that event on an element.

48
Q

.clone()

A

Create a deep copy of the set of matched elements.

49
Q

.closest()

A

For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.

50
Q

:contains() Selector

A

Select all elements that contain the specified text.

51
Q

.contents()

A

Get the children of each element in the set of matched elements, including text and comment nodes.

52
Q

.context

A

The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document.

53
Q

.css()

A

Get the value of a style property for the first element in the set of matched elements or set one or more CSS properties for every matched element.