I recently stumbled upon the jQuery code snippets for Visual Studio 2010 and then i have found the solution.
1. Download .exe files from the following link
http://jquerysnippets.codeplex.com/releases/view/36580
2. Make sure your visual studio was closed.
3. Run jQuerySnippets.exe
4. After successful installation, you can open your Visual Studio and use JQuery Snippet.
For Ex.
1. You need to add <script type="text/javascript"> </script> tag in your file. Now your code snippet will generate for you.
Just Click CTRL + SpaceBar then type jq after that press tab button.
5. Now you have replace selector as your Div Id or Class
1. Download .exe files from the following link
http://jquerysnippets.codeplex.com/releases/view/36580
2. Make sure your visual studio was closed.
3. Run jQuerySnippets.exe
4. After successful installation, you can open your Visual Studio and use JQuery Snippet.
For Ex.
1. You need to add <script type="text/javascript"> </script> tag in your file. Now your code snippet will generate for you.
Just Click CTRL + SpaceBar then type jq after that press tab button.
2. I am going to add click event using snippet.
Just Click CTRL + SpaceBar then type jqclick after that press tab button.
3. Now you have replace selector as your control Id or Class
4. I am going show div on this click Event, with in this click event
Just Click CTRL + SpaceBar then type jqshow after that press tab button.
6. You have successfully Add Jquery Code snippet for your visual studio.
No comments:
Post a Comment