Skip to content
| Marketplace
Sign in
Visual Studio>Tools>jQuery Code Snippets
jQuery Code Snippets

jQuery Code Snippets

kspearrin

|
242,015 installs
| (18) | Free
130+ jQuery code snippets for Visual Studio 2012-2019.
Download

This extension hosts a collection of common jQuery code snippets for use in Visual Studio 2012-2019.

This project is hosted on GitHub.

30 Second Demo

>> Demo Video on YouTube <<

Snippet Listing

There are over 130 code snippets for jQuery included. You can view a listing of all of these snippets on the project wiki here: https://github.com/kspearrin/Visual-Studio-jQuery-Code-Snippets/wiki/Snippet-Listing

Contributing

Please feel free to submit pull requests to the master branch on GitHub.

Changelog

v1.8.0

  • Added support for VS 2019.

v1.7.0

  • Added support for VS 2017.

v1.6.0

  • Added jqOff, jqOffSel, and jqOnSel snippets. Thanks @everettcaleb!
  • Removed type="text/javascript" from all script tags in HTML snippets.
  • Updated HTML snippet default library versions to latest.

v1.5.0

  • Added VS 2015 support. Thanks @madskristensen!
  • Upgraded project files to VS 2013.
  • Updated HTML snippet default library versions to latest.
  • Added wrapping quotes to jqWrap* snippets.

v1.4

  • Updated all snippets to have helpful descriptions and tooltips from latest jQuery docs
  • More uniform formatting and spacing throughout snippets
  • Added jqMap and jqEach (thanks @grahampcharles), jqDataSetObj, jqOn, jqSlideToggle, jqSlideToggleFull
  • Renamed jqClassToggleFn -> jqClassToggleSwitch, jqToggleVis* -> jqToggle*, jqOffset -> jqOffsetGet
  • Removed jqLive, jqToggleMore, jqUnbindFn
  • Various other code cleanup and bug fixes with snippets

v1.3

  • Added VSIX extension for easy installation to Visual Studio (thanks @madskristensen!).
  • Added jqNamespace snippet.

v1.2

  • All snippets now have CamelCase shortcut titles for easier reading.
  • Added jqFind, jqScriptValidateUnobtrusiveCdnMs snippets.
  • Changed jqDr => jqDocReady, jqDrs => jqDocReadyShort, jqheight => jqHeightSet.
  • Added version declarations to appropriate jqScriptCdn snippets.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft