Javascript library for loading pages within wrapper elements with AJAX
jQuery
Just include jQuery before
<script src="jquery.min.js"></script>
Parameters:
element, attribute, wrapper, pushState
// Single element
Router(
'a', 'href', 'body', true
)
// Multiple element
Router(
['a', 'button'],
['href', 'data-btn-link'],
'#main', false
)