Skip to content
130+ jQuery code snippets for Visual Studio 2012, 2013, & 2015.
HTML C# JavaScript Batchfile
Find file

Visual Studio jQuery Code Snippets

Build status

This project hosts a collection of common jQuery code snippets for use in Visual Studio 2012, 2013, and 2015. See a demo video on YouTube here:


  1. Open Visual Studio 2012/2013/2015.
  2. Navigate to Tools > Extensions and Updates.
  3. Search Online for "jquery code snippets".
  4. Select the "jQuery Code Snippets" extension and click Install.
  5. Restart Visual Studio.
  6. Start using the code snippets.

You can also download and install the extension from the Visual Studio Gallery.

Snippet Listing

There are over 130 code snippets for jQuery included. Check out the snippet listing.



  • 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.

Previous Versions


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

Something went wrong with that request. Please try again.