jQuery the new way to do Javascript

Posted by: Sean

Tagged in: jQuery , JavaScript , Design

Sean

Yes as we all know it... JavaScript sucks! Jquery PostIt's been around since the dawn of time and it's slow even on "optimized" web browsers. Most of the time it doesn't even make sense, especially at 2 or 3 am the night before a project is due and your scrambling to try and get things done! But wait...there is light at the end of the tunnel: Enter jQuery. 

This little gem simplifies JavaScript programming, while increasing speed and usability of the code. It works across multiple browsers, it has a light foot print, and is CSS3 compliant!  Everything good so far it seems. But let's look a bit deeper.

 

 

So how does it work?

 

Include the jquery library which can be downloaded here. And then program JavaScript like normal, following there syntax and structure. Which can be found in their documentation here.

 

 

So why use it?  It is just JavaScript....

 

Well first off it simplifies the code, there are now functions which cover such things as waiting for the page to load before executing code. Table manipulation is made simple. Summary things which would take 10-20 lines of code now take just one function call. This alone makes it worth learning!

E.G.
$("p.neat").addClass("ohmy").show("slow");  will display a box which appears slowly. This is from their home page.

 

 

Summary

 

I would strongly recommend looking into jQuery if you haven't already. It is awesome and its the next evolution in JavaScript programming.

 

About the Author

Sean Habing is a web developer, project manager and general IT geek (B. Sc. Comp Sci, A+ Certified, Business Analyst Certificate). Sean currently works as a Client Support Analyst for a Canadian software company. He also runs his own company Oncall Software. It is his goal to inform people about technology while providing industry insight into common issues and problems. He also likes muscle cars. 

RSS Subscribe to our RSS Feed!

Trackback(0)
Comments (6)add comment

Adrian said:

Adrian
:)
Great post Sean. Thanks for adding it!
 
March 02, 2009 | url
Votes: +2

Sean said:

Sean
...
anytime buddy! i like this blogging business
 
March 02, 2009 | url
Votes: +4

Mr.W said:

0
Mr.S Spelling fails!
hehe as per MSN convo Mr.S hehe otherwise great post, passed on the info to a few friends smilies/smiley.gif they where pretty excited to read about it.
 
March 02, 2009 | url
Votes: +2

Sean said:

March 02, 2009
Votes: +3

Paul-Henri@Not logged said:

0
Another Amazing FrW !
Good Article smilies/smiley.gif I'm learning how to use JQuery and i've to confess that it's powerful !!!!!
 
March 17, 2009
Votes: +1

simply_jae said:

0
...
hello.. im jus a new designer im. i learn about the industry one at a time.so hope you can help me and give me some advise to improve my designs. Also i want to try some great designing software .tnx
 
March 27, 2009
Votes: +0

Write comment

busy