jQuery library was introduced to solve all these problems and as an open source it is been improved upon by a team of developers. A look at a jQuery code, the first line of code after importing the library is;
//All codes fall within this area
CSS (Cascading Style Sheet) is a necessary language for working with jQuery, as it works in the Presentation layer to improve the appearance of the web page(s). I once put on my Facebook update:
"I have come to the realization that art (self expression) is the best field of human endeavour. Science simply presents us with tools, techniques and processes to aid the the expression of one's self... Nobody cares about how for instance a MacAir system works, all you see is this sleek, beautiful machine...
I think people are impressed by what they see and not what's going on in the background, so CSS help improve the looks combining with other scripting and markup languages.
One of the uses of jQuery is in form validations. The form elements which includes the input elements with attribute types text, button or radio are all given class and ID names. jQuery uses the $.("#ID-Name
") to select an element with the corresponding ID name and $.(".Class-Name
|Fig. 1 - PAD Architecture|
Finally, jQuery is used in creating powerful web animations. what comes to mind? ActionScript (Flash) is under threat? I believe so. But as jQuery stands, developers keep churning out powerful web animations in the form of banners, games etc.