-
Notifications
You must be signed in to change notification settings - Fork 82
Snippet Listing
xxkylexx edited this page Jan 31, 2013
·
9 revisions
| HTML | jq | script tag and $(document).ready() shortcut |
| HTML | jqScript | script tag with jQuery src |
| HTML | jqScriptCdnGoogle | script tag using Google's CDN |
| HTML | jqScriptCdnMs | script tag using Microsoft's CDN |
| HTML | jqScriptMin | script tag and $(document).ready() shortcut |
| HTML | jqScriptUiCdnGoogle | script tag for jQuery UI using Google's CDN |
| HTML | jqScriptValidateCdnMs | script tag for jQuery validation plugin using Microsoft's CDN |
| HTML | jqScriptValidateUnobtrusiveCdnMs | script tag for jQuery unobtrusive validation plugin using Microsoft's CDN |
| JavaScript | func | javascript: anonymous function |
| JavaScript | jqAfter | Insert content after each of the matched elements. |
| JavaScript | jqAjax | $.ajax() template |
| JavaScript | jqAjaxAspNetWebService | $.ajax() template for calling ASP.NET WebService/PageMethod |
| JavaScript | jqAppend | Append the content to the selected element(s) |
| JavaScript | jqAppendTo | Append the content to the selected element(s) |
| JavaScript | jqAttrGet | Retrieve attribute value from element |
| JavaScript | jqAttrRemove | Remove attribute from element |
| JavaScript | jqAttrSet | Set attribute value on element(s) |
| JavaScript | jqAttrSetFn | Set attribute value on element(s) using function |
| JavaScript | jqAttrSetObj | Set attribute values on element(s) using object values |
| JavaScript | jqBefore | Insert content before each of the matched elements. |
| JavaScript | jqBindWithData | bind(eventName, function) |
| JavaScript | jqBindWithData | bind(eventName, data, function) |
| JavaScript | jqBlur | blur() |
| JavaScript | jqChange | change() |
| JavaScript | jqClassAdd | Add a class to the selected elements |
| JavaScript | jqClassRemove | Remove a class to the selected elements |
| JavaScript | jqClassToggle | Toggle a class on the selected elements |
| JavaScript | jqclasstoggle | Toggle a class on the selected elements |
| JavaScript | jqClick | click() |
| JavaScript | jqClone | Clone matched DOM Elements and select the clones. |
| JavaScript | jqCloneWithEvents | Clone matched DOM Elements, and all their event handlers, and select the clones. |
| JavaScript | jqCssGet | Return a style property on the first matched element. |
| JavaScript | jqCssSet | Set a single style property to a value on all matched elements. |
| JavaScript | jqCssSetObj | Set a key/value object as style properties to all matched elements. |
| JavaScript | jqDataGet | Retrieve data value from element |
| JavaScript | jqDataRemove | Remove data value from element |
| JavaScript | jqDataSet | Set data value on element(s) |
| JavaScript | jqDie | die(eventName) |
| JavaScript | jqDieAll | die() |
| JavaScript | jqDieFn | die(functionName) |
| JavaScript | jqDocReady | $(document).ready() |
| JavaScript | jqDocReadyShort | $(document).ready() shortcut |
| JavaScript | jqEachElement | $(selector).each() template |
| JavaScript | jqEmpty | Remove all child nodes from the set of matched elements. |
| JavaScript | jqFadeIn | Effects: fadeIn() |
| JavaScript | jqFadeInFull | Effects: fadeIn(speed, callback) |
| JavaScript | jqFadeOut | Effects: fadeOut() |
| JavaScript | jqFadeOutFull | Effects: fadeOut(speed, callback) |
| JavaScript | jqFadeTo | Effects: fadeTo(speed, opacity) |
| JavaScript | jqFadeToFull | Effects: fadeTo(speed, opacity, callback) |
| JavaScript | jqFind | Get (find) the descendants of each element in the current set of matched elements |
| JavaScript | jqFocus | focus() |
| JavaScript | jqGet | $.get() template |
| JavaScript | jqGetJson | $.getJSON() template |
| JavaScript | jqGetScript | $.getScript() template |
| JavaScript | jqHasClass | Check if selected elements contain class |
| JavaScript | jqHeightGet | Gets the height of the first matched element. |
| JavaScript | jqHeightSet | Sets the height of the first matched element. |
| JavaScript | jqHide | Effects: hide() |
| JavaScript | jqHideFull | Effects: hide(speed, callback) |
| JavaScript | jqHover | hover() |
| JavaScript | jqHtmlGet | Retrieve HTML content from element(s) |
| JavaScript | jqHtmlSet | Set the HTML content for selected element(s) |
| JavaScript | jqInnerHeight | Gets the inner height of the first matched element. |
| JavaScript | jqInnerWidth | Gets the inner width of the first matched element. |
| JavaScript | jqInsertAfter | Insert all of the matched elements after another, specified, set of elements. |
| JavaScript | jqInsertBefore | Insert all of the matched elements before another, specified, set of elements |
| JavaScript | jqKeyDown | keydown() |
| JavaScript | jqKeyPress | keypress() |
| JavaScript | jqKeyUp | keyup() |
| JavaScript | jqLive | live(eventName, function) |
| JavaScript | jqLoadGet | Ajax: load() with GET |
| JavaScript | jqLoadPost | Ajax: load() with POST |
| JavaScript | jqMouseDown | mousedown() |
| JavaScript | jqMouseEnter | mouseenter() |
| JavaScript | jqMouseLeave | mouseleave() |
| JavaScript | jqMouseMove | mousemove() |
| JavaScript | jqMouseOut | mouseout() |
| JavaScript | jqMouseOver | mouseover() |
| JavaScript | jqMouseUp | mouseup() |
| JavaScript | jqOffset | Get the current offset of the first matched element, in pixels, relative to the document. |
| JavaScript | jqOffsetParent | Returns a jQuery collection with the positioned parent of the first matched element. |
| JavaScript | jqOne | one(eventName, function) |
| JavaScript | jqOneWithData | one(eventName, data, function) |
| JavaScript | jqOuterHeight | Gets the outer height of the first matched element. |
| JavaScript | jqOuterWidth | Gets the outer width of the first matched element. |
| JavaScript | jqPlugin | plugin template |
| JavaScript | jqPosition | Gets the top and left position of an element relative to its offset parent. |
| JavaScript | jqPost | $.post() template |
| JavaScript | jqPrepend | Prepend the content to the selected element(s) |
| JavaScript | jqPrependTo | Prepend the content to the selected element(s) |
| JavaScript | jqRemove | Removes all matched elements from the DOM. |
| JavaScript | jqRemoveExp | Removes all matched elements from the DOM. |
| JavaScript | jqReplaceAll | Replaces the elements matched by the specified selector with the matched elements. |
| JavaScript | jqReplaceWith | Replaces all matched elements with the specified HTML or DOM elements. |
| JavaScript | jqResize | resize() |
| JavaScript | jqScroll | scroll() |
| JavaScript | jqScrollLeftGet | Gets the scroll left offset of the first matched element. |
| JavaScript | jqScrollLeftSet | Sets the scroll left offset of the first matched element. |
| JavaScript | jqScrollTopGet | Gets the scroll top offset of the first matched element. |
| JavaScript | jqScrollTopSet | Sets the scroll top offset of the first matched element. |
| JavaScript | jqSelect | select() |
| JavaScript | jqSelectTrigger | select() (trigger) |
| JavaScript | jqShow | Effects: show() |
| JavaScript | jqShowFull | Effects: show(speed, callback) |
| JavaScript | jqSlideDown | Effects: slideDown() |
| JavaScript | jqSlideDownFull | Effects: slideDown(speed, callback) |
| JavaScript | jqSlideUp | Effects: slideUp() |
| JavaScript | jqSlideUpFull | Effects: slideUp(speed, callback) |
| JavaScript | jqSubmit | submit() |
| JavaScript | jqSubmitTrigger | submit() (trigger) |
| JavaScript | jqTextGet | Retrieve text content from element(s) |
| JavaScript | jqTextSet | Set the text content for selected element(s) |
| JavaScript | jqToggle | toggle() |
| JavaScript | jqToggleMore | toggle() (with more functions) |
| JavaScript | jqToggleVis | Effects: toggle() |
| JavaScript | jqToggleVisFull | Effects: toggle(speed, callback) |
| JavaScript | jqToggleVisSwitch | Effects: toggle(switch) |
| JavaScript | jqTrigger | trigger(eventName) |
| JavaScript | jqTriggerHandler | triggerHandler(eventName) |
| JavaScript | jqTriggerHandlerWithData | triggerHandler(eventName, data) |
| JavaScript | jqTriggerWithData | trigger(eventName, data) |
| JavaScript | jqUnbind | unbind(eventName) |
| JavaScript | jqUnbindAll | unbind() |
| JavaScript | jqUnbindFn | unbind(functionName) |
| JavaScript | jqUnload | unload() |
| JavaScript | jqValGet | Retrieve value from element(s) |
| JavaScript | jqValSet | Set the value for selected element(s) |
| JavaScript | jqWidthGet | Gets the width of the first matched element. |
| JavaScript | jqWidthSet | Sets the width of the first matched element. |
| JavaScript | jqWrap | Wrap each matched element with the specified HTML content. |
| JavaScript | jqWrapAll | Wrap all the elements in the matched set into a single wrapper element. |
| JavaScript | jqWrapInner | Wrap the inner child contents of each matched element (including text nodes) with an HTML structure. |