Tutorial Load Only a Section of a Page

Use Case You want to AJAX load a section of another page on your site onto the current page. Say your eCommerce CMS system creates a dynamic...

Use Case
You want to AJAX load a section of another page on your site onto the current page. Say your eCommerce CMS system creates a dynamic menu of products, but that exists as a subdirectory of your site and you want to use that on the homepage.
jQuery
$("#mainNav").load("/store #mainNav")
The first param is the URL (only works for same-domain requests!) and the second (well, technically it's

Hot in Week

Popular

Archive

item