获取类字符串并触发单击该字符串
HTML
<span class="pointer" onclick="window.open('index.php?view=surfer&t=32190c563ba0a40a83794f0ed55c84be','_blank');">MAKE US NO 1 AT EMS</span>
不想使用触发器点击指针
document.querySelector('.pointer').click()
答案 0 :(得分:1)
只需使用:
Observable
OR
$(".pointer").click();