开发者

Can any one help me to understand jQuery? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

开发者_运维问答I am new to jQuery. I know the use of jQuery but I want to understand the architecture of jQuery. I mean how jQuery works with DOM.

Where can I get all this information? What would be a good book or website?


We can not help you "understand" jQuery, you have to understand it yourself. However we can show you some great learning resources for learning it. Check these out

If you want there is an excellent book named "Learning jQuery" by PACKT

http://visualjquery.com/
http://www.learningjquery.com/
http://15daysofjquery.com/


Hai srirangan ,

Have a look at these links http://docs.jquery.com/Tutorials

http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery


As with learning any other new language or skill, start with small steps.
A list of places where you might get stuck:

  1. Not able to get jQuery loaded
  2. Dont know how to figure out whether or not jQuery is loaded
  3. .show() and .hide() are not working
  4. where to put the jquery code - before or after the html it relates to, top of page, bottom of page, etc
  5. confusion with the various selectors like #something, .something, :something etc
  6. confusion with whether to put #foo bar or #foo > bar
  7. confusion about $( function() {}) and $(document).ready (function() {})

I strongly suggest that you spend some time using and learning Firebug and Web Developer Toolbar- will save a lot of trouble

By looking at the various tabs in Firebug, you will be able to figure out a lot of things about web development - especially HTML, Script and Net tabs

Web dev toolbar gives you truckloads of options and info about your page/site.
Nothing can teach you jQuery without these two plugins.

A practical point worth noting - one place where I first pulled out my hair was forgetting to put # in selectors for id's and putting # where it is not supposed to be.
Plain old typos !!


I found this a useful resource when I had to explore jQuery: http://book.learningjquery.com/.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜