Jquery 使用IMacros单击此按钮

Jquery 使用IMacros单击此按钮,jquery,html,imacros,Jquery,Html,Imacros,我试图让IMacros代码在网页上单击此按钮,但它不起作用,因为它可以找到按钮,但实际上不会单击它,我正在使用此代码: TAG POS=1 TYPE=a ATTR=TXT:Joined 按钮的HTML为: <a id="order_created_at" class="active" href="#top" onmousedown="unfollow.changeSortOrder('created_at', 'ASC');return false;">Joined <i c

我试图让IMacros代码在网页上单击此按钮,但它不起作用,因为它可以找到按钮,但实际上不会单击它,我正在使用此代码:

TAG POS=1 TYPE=a ATTR=TXT:Joined
按钮的HTML为:

<a id="order_created_at" class="active" href="#top" onmousedown="unfollow.changeSortOrder('created_at', 'ASC');return false;">Joined <i class="icon-caret-down"></i></a>

我的建议如下:

TAG POS=1 TYPE=A ATTR=ID:"order_created_at"
URL GOTO=javascript:{window.document.getElementById("order_created_at").onmousedown();undefined;}