0
我發現下面的腳本片段網站訪問屬性,JS
$(document).ready(function() {
$('.paper-image').click(function() {
if(confirm(testResults)) {
window.location.href = $(this).attr('congrats-url');
}
})
})
如何在Firefox控制檯得到$(this).attr('congrats-url');
值上。
'$( '紙形象。 ')ATTR(' 恭喜-URL');'如果有與類'只有一個元素。造紙-image' – Hacketo