Profile
Achievement
jonkemp's Recent SnippetsTagged jquery
- All /
« Prev 1 Next »
The AJAX Libraries API is a content distribution network and loading architecture for the most popular, open source JavaScript libraries.
1
805
posted 14 years ago by jonkemp
Although $(document).ready is incredibly useful, it occurs during page render while objects are still downloading. You can reduce CPU utilization during the page load by binding your jQuery functions to the $(window).load event, which occurs after al...
2
695
posted 14 years ago by jonkemp
Use chaining in jQuery to reduce the code size and gain better performance.
0
680
posted 14 years ago by jonkemp
This requires jQuery. The script checks to see if default text is present in a text field on focus. If it is, then it clears the text. Otherwise, it leaves user entered text intact. This is normally used for a search box.
0
829
posted 14 years ago by jonkemp