Home > General, Jquery, PHP, Programming > Let’s get started with jQuery

Let’s get started with jQuery

Nowadays you may see tons of Javascript frameworks coming up. The truth is that it makes your code efficient if a framework used instead of pure javascript code. Most of the javascript frameworks helps you to solve crossbrowser difficulties. Probably you heard about Prototype and MooTools. You may see some people are trying to decide between these frameworks. I should say i am fan of jQuery. jQuery comes with tons of futures and flexibility and you can do a big work with less effort and it is not just a regular library however jQuery is even ajax and effect library. It does evertything i need with piece of code.

jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.

Let’s say you are using some other libraries as well, there it goes, jQuery is such a good friend with other libraries. API designed with conciseness and convenience as the driving factors.

Before start with jQuery i want you to know some basics about it. You can download the framework basically from www.jquery.com then download it on your desktop. This is how jQuery places in html code.

<html>
<head>
<strong><script type="text/javascript" src="jquery.js"></script></strong>
<script type="text/javascript">
<strong>// Your code goes here</strong>
</script>
</head>
<body>
<a href="http://jquery.com/">jQuery</a>
</body>
</html>

You can start with placing your core *.js file which is jquery.js for this example.

<script type="text/javascript" src="jquery.js"></script>

You may change src attribute to point your js files in your server path. Once you done with it then you can start with jquery. Now all you should do is place your code in “// Your code goes here” part.

VN:F [1.9.22_1171]
Rating: 4.0/10 (6 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
Let's get started with jQuery, 4.0 out of 10 based on 6 ratings
Categories: General, Jquery, PHP, Programming Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.