Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $(function () {
- var includes = $('[data-include]');
- jQuery.each(includes, function () {
- var file = 'components/' + $(this).data('include') + '.html';
- $(this).load(file);
- });
- });
- </script>
- <div data-include="header"></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement