| Dan Wahlin's WebLog |
Previous Tips: jQuery Tip #1 - Defining a Context When Using Selectors jQuery Tip #2 - Manipulating the DOM in a Loop jQuery Tip #3 – Using the data() Function jQuery Tip #4 – Use the on() Function for Event Handling jQuery Tip #5 – Using jQuery’s end() Function to Work with Sets
jQuery Tip #6 – Creating a Custom jQuery Selector
As the
As the
use of Ajax continues to grow in popularity it's worth taking the time to think through how Ajax calls are structured and used in an application especially if re-use and maintenance are important. If you analyze a lot of the Ajax code out there you'll likely find that calls to the server are scattered throughout scripts and pages. For example, if an Ajax call is made to get a list of jobs, a call is made directly in the script that needs the data. If another page/script needs the same type of data another Ajax call is made. This results...(Read whole news on source site)




