...

View Full Version : click() method in Firefox



iota
05-11-2007, 08:04 PM
Hi masters,

I'd like to automate some click events.
In IE, it's easy :


document.getElementById('lnk_1').click();
How can I implement it in FF ?

Thank you so much.

felgall
05-11-2007, 08:46 PM
Call whatever function that the click is calling instead.

dasickis
05-11-2007, 08:51 PM
window.location=document.getElementById('lnk_1').href

glenngv
05-12-2007, 10:02 PM
I assume this (http://www.codingforums.com/showthread.php?t=7495#post34595) also applies to FF.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum