Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you load a partial html in html5? [closed]

I am trying to implement an index.html page with a partial page that contains links and logo, and change body content depending on the link click.

Is there a light js library that allows you to do that in html5?

like image 752
sss Avatar asked Aug 22 '13 15:08

sss


1 Answers

With jQuery

$('#result').load('ajax/test.html');

http://api.jquery.com/load/

like image 99
Ben McCormick Avatar answered Nov 17 '22 15:11

Ben McCormick