Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".sidebar-wrapper a").on('click', function(e){
- e.preventDefault();
- var href = $(this).attr('href');
- console.log(href);
- $.ajax({
- url: href,
- cache: false,
- success: function(html){
- $("#content").html(html);
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement