|
Post by kokenge on Nov 17, 2009 3:21:18 GMT -5
How do you click a link with JS. I tried this and the JS does not click the link?? devNum = 40
link #b8,"Link",[shoIt] #b8 setid("lnk";devNum)
html "<script> document.getElementById('lnk";devNum;"').click(); </script>" wait
[shoIt] print print "I been clicked" wait
Thanks for the help.. Dan
|
|
|
Post by StefanPendl on Nov 17, 2009 4:43:38 GMT -5
You can not click a link, since there is no click() method for it. You can click some of the HTML Input types. See HTML DOM Objects.
|
|