AJAX Load Content No Page Refresh |
jQuery.load() is probably the easiest way to load data asynchronously using a selector, but you can also use any of the jquery ajax methods (get, post, getJSON, ajax, etc.)
Note that load allows you to use a selector to specify what piece of the loaded script you want to load, as in
Code: $("#mydiv").load(location.href + " #mydiv"); Note that this technically does load the whole page and jquery removes everything but what you have selected, but that's all done internally. |
Messages In This Thread |
AJAX Load Content No Page Refresh - by apysan - 02-18-2017, 06:23 AM
RE: AJAX Load Content No Page Refresh - by ignitedcms - 02-19-2017, 08:33 AM
RE: AJAX Load Content No Page Refresh - by apysan - 02-22-2017, 02:00 AM
RE: AJAX Load Content No Page Refresh - by InsiteFX - 02-22-2017, 11:12 AM
RE: AJAX Load Content No Page Refresh - by spjonez - 02-22-2017, 12:14 PM
RE: AJAX Load Content No Page Refresh - by Wouter60 - 02-22-2017, 02:43 PM
RE: AJAX Load Content No Page Refresh - by apysan - 02-22-2017, 10:11 PM
RE: AJAX Load Content No Page Refresh - by larryhems - 09-06-2020, 11:53 PM
RE: AJAX Load Content No Page Refresh - by InsiteFX - 09-07-2020, 03:06 AM
|