First try today on jQuery. It is so great that we have such a free + open source code in this world.

1. Create a new web test project, CTRL A + CTRL C from jQuery Code to the new .js file.


2. Include jQuery in the html file. Pretty much for all jQuery code started with $. In the Green box, i am using jQuery syntax to instruct when the document is ready, hide the paragraph which has id =”para1″ and hide the input control which has id = “btn1”.


3. Press F5 and here is it ! Only Paragraph 2 left in the page!

Advertisements