if i m new to jquery? then what is the best way to begin with?
Visiting http://jquery.com/ and reading the tutorials is probably the best way to go. Google works really well too.
I would start with the JQuery Tutorial straight from the JQuery site
The docs are a great place to start. They have good examples of different functionality. jQuery Docs
The first step might be to take a look at its documentation : it will allow you see what it can do, and the basics of the "how".
If you were new to jQyery, you'd best go to the jQuery website, and then read some jQuery tutorials.
And practice of course. Just try it. jQuery is not very hard to learn, so just try to implement it in a website, and refer to the jQuery website or to SO to get help.
Some suggestions: - Try a few development environments and tools (IntelliJ, Firebug) - Write a todo application that beats mine :)
When I first started I opened up notepad and put the following code in
<html>
<head>
<script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$("a").click(function() {
alert("Hello world!");
});
});
</script>
</head>
<body>
<a href="#" id="Test"></a>
</body>
</html>
After I got that working I visted Jquery.com and 1 by one tried each of the JQuery API reference sections and tried a few of them out. You can find those here http://docs.jquery.com/Main%5FPage
They have quite a lot of tutorials, however, I personally found it easier to just try things out for myself using the API reference. I also found cheat sheets like this one useful: http://net.tutsplus.com/freebies/cheat-sheets/jquery-cheat-sheet/
I then read these excelent tips: http://www.tvidesign.co.uk/blog/improve-your-jquery-25-excellent-tips.aspx
Then learn't to put a plugin together here: http://www.learningjquery.com/2007/10/a-plugin-development-pattern
Thats it really... In a nutshell that's how I learn't JQuery.