發表文章

目前顯示的是 3月 16, 2014的文章

[Cool] SONY Store - Be Moved

http://discover.store.sony.com/be-moved/

Prevent Default Behaviour of Hashed Anchor Tag with jQuery

Prevent Default Behaviour of Hashed Anchor Tag with jQuery Way back in the day, I use to always set up my event triggering anchor tags a certain way to prevent their default behaviour of having to click-through to a URL or named anchor: $( 'a[href="#"]' ).click( function(e) { e.preventDefault(); } );