Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
mousedown イベントからヒートマップを作成したいのですが、その前に Web サイトの A 要素をキャプチャする必要があります。どうすればこれを達成できるか知っている人はいますか?
要するに、リンクをクリックすると、次のことを行う必要があります。
$('a').click(function(){ $.ajax({ url: '/analytics', type: 'post', data: {url: $(this).attr('href')}, async: false }); }