Answers for "display html snippets page"

0

html insert html snippets

<head>
  <link rel="import" href="/path/to/imports/stuff.html">
</head>
Posted by: Guest on June-03-2021
0

html insert html snippets

$(function () {
  var includes = $('[data-include]')
  $.each(includes, function () {
    var file = 'views/' + $(this).data('include') + '.html'
    $(this).load(file)
  })
})
Posted by: Guest on June-03-2021

Browse Popular Code Answers by Language