/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
['/path/to/include.incl'].each(function(url) { new Ajax.Request(url, { asynchronous: false, onComplete: function(request) { document.write(request.responseText); } }); });