www.webdeveloper.com
Results 1 to 6 of 6

Thread: How useful is jQuery?

  1. #1
    Join Date
    Mar 2012
    Posts
    12

    How useful is jQuery?

    jQuery is a big file. Like 2mb I think, last time I checked it out.

    It seems to me that 2mb is just too big to load it on your website. Is jQuery really worth that load time?

  2. #2
    Join Date
    Jul 2003
    Location
    The City of Roses
    Posts
    2,503
    It's actually about 32KB. So I'd say yes, worth it.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  3. #3
    Join Date
    Mar 2012
    Posts
    12

    yep.

    yeah, you're right, dude. i just checked out the site. it says 32kb zipped, 247kb unzipped. I don't know what I was thinking. I swear I checked it out before it was like 2mb.

    This is a pretty useless thread then. jQuery is awesome. Sorry about that.

  4. #4
    Join Date
    Jul 2003
    Location
    The City of Roses
    Posts
    2,503
    No worries.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  5. #5
    Join Date
    Oct 2010
    Location
    Versailles, France
    Posts
    1,270
    The full version of jQuery is too very usefull to learn to write script and especially to studies exceptions like, for example, this (lines 164 to 178) :
    Code:
    	elem = document.getElementById( match[2] );
    
    		// Check parentNode to catch when Blackberry 4.6 returns
    		// nodes that are no longer in the document #6963
    		if ( elem && elem.parentNode ) {
    			// Handle the case where IE and Opera return items
    			// by name instead of ID
    			if ( elem.id !== match[2] ) {
    				return rootjQuery.find( selector );
    			}
    
    			// Otherwise, we inject the element directly into the jQuery object
    		this.length = 1;
    		this[0] = elem;
    	}
    Last edited by 007Julien; 06-25-2012 at 06:41 PM.

  6. #6
    Join Date
    Jul 2003
    Location
    The City of Roses
    Posts
    2,503
    Quote Originally Posted by 007Julien View Post
    The full version of jQuery is too very usefull to learn to write script and especially to studies exceptions like, for example, this (lines 164 to 178) :
    Code:
    ...
    		// Check parentNode to catch when Blackberry 4.6 returns
    		// nodes that are no longer in the document #6963
    ...
    			// Handle the case where IE and Opera return items
    			// by name instead of ID
    Yes, exactly! jQuery is updated to accommodate new devices and new browsers, and the code you or I write happily just works. It's such a simple concept. I remember the days when one or two particular people here didn't/couldn't/wouldn't see it that way. Boy am I glad those days have passed.
    Last edited by Jeff Mott; 06-25-2012 at 07:32 PM.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles