SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: jquery doubt

  1. #1
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    jquery doubt

    hi,
    i am working on jquery i am not understood why are we using ready made functions like jquery.js, jquery.min.js,jquery-1.6.2.min.js,jquery-latest.js.
    what is the use of these....
    at what situation we are using the particular function.......
    what are the difference between these functions......

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,206
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by ravi951 View Post
    hi,
    i am working on jquery i am not understood why are we using ready made functions like jquery.js, jquery.min.js,jquery-1.6.2.min.js,jquery-latest.js.
    what is the use of these....
    at what situation we are using the particular function.......
    what are the difference between these functions......
    The jQuery library (basically a file of JavaScript code) can be called anything you like. Sometimes the version number is included in the name for your reference (e.g. 1.6.2). To minimize the file size, whitespace can be trimmed out, and in that case the file is often names with a "min" in it to remind you of that.

    But in all likelihood, each of those files you listed above is the same thing—the jQeury library—but perhaps some minified and others not, or various different versions of it. (It could be handy to know the version, in case you've heard that a slider or gallery script you are using doesn't work with the latest version of jQuery, for example.)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •