Use jQuery and the .load()
( http://api.jquery.com/load/
) method to inject the loaded document into the DOM.
$(function() {
$('#content').load('/templates.html');
});
Use jQuery and the .load()
( http://api.jquery.com/load/
) method to inject the loaded document into the DOM.
$(function() {
$('#content').load('/templates.html');
});