2011-09-08, 05:11:23
if you are linking to a page, it has to "exist" right?
jQuery ajax can pull content from any page you request (example: via the href tag), then load a certain "part" of that page while stopping the page refresh. Check out the jQuery load() function.
Rule of thumb if you are using javascript/Ajax: Create the page without any javascript first, then layer JS on top of a working site to enhance the UI and to get it working the way you want.
jQuery ajax can pull content from any page you request (example: via the href tag), then load a certain "part" of that page while stopping the page refresh. Check out the jQuery load() function.
Rule of thumb if you are using javascript/Ajax: Create the page without any javascript first, then layer JS on top of a working site to enhance the UI and to get it working the way you want.