How to use click() for links
Nov 17, 2009 3:21:18 GMT -5
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??
Thanks for the help..
Dan
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 "I been clicked"
wait
Thanks for the help..
Dan