Quick Reference
This is a quick reference list of jQuery Properties that are used to trigger or attach a function to an event handler for the selected elements.
- jQuery – event.currentTarget PropertyThe event.currentTarget property is the current DOM element within the event bubbling phase, and is typically equal to “this”.
- jQuery – event.data PropertyThe event.data property contains the optional data passed to an event method when the current executing handler is bound.
- jQuery – event.delegateTarget PropertyThe event.delegateTarget property returns the element where the currently-called jQuery event handler is attached.
- jQuery – event.namespace PropertyThe event.namespace property returns the namespace when the event is triggered, and can be used to handle tasks differently depending on the namespace.
- jQuery – event.pageX PropertyThe event.pageX property returns the position of the mouse pointer, relative to the left edge of the document.
- jQuery – event.pageY PropertyThe event.pageY property returns the position of the mouse pointer, relative to the top edge of the document.
- jQuery – event.relatedTarget PropertyThe event.relatedTarget property returns which element is being entered or exited on mouse movement.
- jQuery – event.result PropertyThe event.result property contains the previous value returned by an event handler triggered by the specified event.
- jQuery – event.target PropertyThe event.target property returns which DOM element triggered the event and is often used to determine if the event is being handled due to event bubbling.
- jQuery – event.timeStamp PropertyThe event.timeStamp property returns the number of milliseconds since January 1, 1970, when the event was triggered.
- jQuery – event.type PropertyThe event.type property returns the event type that was triggered.
- jQuery – event.which PropertyThe event.which property returns which keyboard key or mouse button (by key/button number) was pressed for the event.
- jQuery – $().jquery PropertyThe $().jquery property returns a string containing the jQuery version number being used.
- jQuery – jQuery.fx.interval PropertyThe jQuery.fx.interval property is used to change the animation firing rate in milliseconds.
- jQuery – jQuery.fx.off PropertyThe jQuery.fx.off property is used to globally disable/enable all animations, which will immediately set elements to the final state of the animation.
- jQuery – jQuery.support PropertyThe jQuery.support property contains a collection of properties representing different browser features or bugs.
- jQuery – length PropertyThe length property contains the number of elements in the jQuery object.
jQuery Notes:
- To use jQuery on your site, it must first be downloaded from the official jQuery site and linked to in your document <head>, or linked to via a CDN in your document <head>
- It is generally good practice to place your jQuery code/function inside the document load function so that the action takes place ONLY after the document has finished loading
- When using jQuery, single or double quotation marks are acceptable and work identically to one another; choose whichever you prefer, and stay consistent
We’d like to acknowledge that we learned a great deal of our coding from W3Schools and TutorialsPoint, borrowing heavily from their teaching process and excellent code examples. We highly recommend both sites to deepen your experience, and further your coding journey. We’re just hitting the basics here at 1SMARTchicken.