My name is Naresh Pal and this write up is all about the fundamentals of jQuery and I am glad to share my experience and knowledge with you. I am learning it in ADMEC Multimedia Institute, Delhi and I was asked to explain what I learned in my class so I am writing here.
What is jQuey?
Why we use jQuey?
How to use jQuey?
We just have to follow some steps as given below:
STEP 1 : First we have to download jQuery file from www.jquey.com we have to keep this file in our root folder.
STEP 2 : At the end of body section of HTML page start the script tag and place the source of jquey.js file as follows;
<! – Write your HTML code here –>
// your Query goes here
Getting Started with jQuery
jQuery or $
Both of them are same so you can use alternatively. $ is mostly used for ‘jQuery’ because it is short and fast to write.
Note: Don’t use $ if it is conflicting with some other libraries being used in same app.
Example: Say “hello world”
alert(‘Hi ! here I am getting start with jQuery’);