Shaikh Sonny Aman’s Blog

previously www.mailtoaman.com

JQuiery

Posted on | January 12, 2008 |

Once it used to be stated that to be a good developer one should learn a language every year. Why? The basic reason was to widen up ones view. By learning new language we can come to know about new techniques to solve a problem. Following that rule, I tasted some languages like C/C++(:P), java, Perl, PHP VB, Bash, VRML, JavaScript, C#, VC++/MFC(it should fall in C++ !), Flash Action script, SQL, Ferite etc.

Now, should I start learning python or ruby? I know they worth knowing, those are suppose to be a pleasant experience. But, what else might be done? I think knowing some api/libs can do the same! So, we learn GTK, XFC, Enlightenment, JFP, Struts, Tapestry etc.

In this way, I have started tasting JQuery. I am not saying learning, as to ‘learn’or to say “I know THIS” not just means I read few books, some articles and a handful of codes to demonstrate, rather it’s a matter of a longer period than 24 hours or 30 days.

Anyway, I am just writing about what I understand while going through the journey with JQuery( JQ ). Btw, I am studying the book, “Learing JQuery” by Jonathan Chaffer and Karl Swedberg.

What we can do with JQ:

  1. Easily access to any DOM element
  2. Modify the appearance on the fly [using css]
  3. Change the content of the page
  4. A wide range event handling to make the page more responsive to the user

Besides these using jq we can do animation on the page,

ajax

integration and simplify other javascript tasks.

JQ has an interesting factory function $() and it can refer to any object very easily, like:

  1. Elements : $(’p') : Gets all the paragraphs
  2. A particular element: $(’#an_id’): gets the element with id ‘an_id’
  3. Elements with same class: $(’.className’)

[to be continued, feeling sleepy..]

Powered by Zoundry

Comments

2 Responses to “JQuiery”

  1. JuicyGirl
    April 6th, 2008 @ 10:07 am

    Do you fairly think this is news? I like and read your blog to get necessary information, but sometimes melancholy kills me

  2. indeterminacy
    April 9th, 2008 @ 2:56 am

    Seems different from your previous posts. Did YOU write this post, or someone else did? Anyway, I think your readers really enjoyed reading it.

Leave a Reply