Saturday, 25 June 2011

Change the Style with jQuery

This is a basic tutorial, written to help you get started using jQuery.
This tutorial shows you how you can do some special effect using jquery.
Download a copy of jquery from here.

Just start by creating a new HTML page with the following contents:

<script type="text/javascript" src=""></script>
<script type="text/javascript">
<title>jQuery Programming Tutorial by Anurag</title>
<body><button>Click me</button>
<div id="test" style="background-color:#B6FFA4;height:20px;width:240px">Welcome To Programming Tutorials</div>

You can test it, just click on Click me button in this HTML page and the width of the div will be changed. Yo can do more same way.

No comments:

Post a Comment