yenu/resources/public/js/main.js

7 lines
160 B
JavaScript
Raw Normal View History

$(function () {
$('#page-switcher').on('change', function(e) {
var page = $(e.target).val();
window.location = '/page/' + page;
});
});