I have this HTML in a page:
<a href="#" onClick="return sortTable( 'sortById', 'byId' )"><img
src="/sortById.gif" alt="Sort by ID" border="0" /></a>
I want to to automatically click the link when the page is loaded.
I have tried various approaches, but nothing works.
oAnchor.click();
unsafeWindow.sortTable('sortById', 'byId');
Anyone know how to do this?
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.