The links on my site don\'t work and I got an solution of using data-ajax=\"false\" on my anchors without getting a true explanation. Can someone help me?
if you set the attribute of an element to data-name, you can, through jQuery, fetch it using $('element').data('name') instead of $('element').attr('data-name');, but data-* attributes can still be used for event delegation, like $(document).on('click', '[data-name]', function(){});