One day it took me to do a dynamic load from the database. Before that, I didn’t do anything of the kind and haven’t been interested in this issue. I began to look for information on this topic. Found that the task I need is done with
AJAX .
I rummaged through so many different frameworks and chose the now popular
jQuery . Everything would be fine, but I didn’t understand the principle of work right away, and immediately I couldn’t do a simple task, download one page to another. I searched on the Internet at least some help. Helped
off. site , the benefit there docks enough. So, having understood this question, I decided to make a small example for the
“smallest” (
for beginners ) who had never worked with this library.
For professionals, it (an example) will seem ridiculous and simple, but for people who have no idea what and how and why - it will help. The example is provided with comments in the code. It shows how to load one page into another, without reloading the first, just walked a little through the basic fundamentals of the classes.
')
Download the sample here