This time I'll show you simple sample of "How to use jQuery in Visual Studio 2010 Beta 2".
First thing for all of you who did not get yet VS2010 Beta 2 , you can get it Visual Studio Beta 2 Download . I got for my self a Visual Studio 2010 Ultimate (.ISO) .
After you download and do install VS 2010 next thing you need is to download jQuery library jQuery Download.
I get a DEVELOPMENT (120KB, Uncompressed Code) version of file.
Next , we can start with excersise .
Start Visual studio IDE choos favorit IDE language / project settings after that we Choose File/New Web Site / Empty Web Site template.
Next we create a Folder where we will put our downloaded jQuery library, I name it "Scripts" and script library (first thing I must to do is to rename the downloaded jQuery.txt to jQuery.js file).
After that I add Web page to project Default.aspx page and put on two div and button .
In head of our html code I simple add reference to jQuery library file, and write little jQuery script:
This script we use for our demostration of using jQuery in VS2010 it is script that make toggleing a div on button click.
We create a page like this with div and image as background which doing a toggle show and hide on our button click
I think you can see all you need in provided screenshoots ... for 2009 year this is my last post .. bye :))
hi,
ReplyDeleteFirst of all. Thanks very much for your useful post.
I just came across your blog and wanted to drop you a note telling you how impressed I was with the information you have posted here.
Please let me introduce you some info related to this post and I hope that it is useful for .Net community.
There is a good C# resource site, Have alook
http://www.csharptalk.com
Thank's Rahul , I hope that my post are useful to people who need information on subject that I do in my everyday work ..
ReplyDelete