I have the following code configured but it it not working. I tried all the Tags with "Click" method of the object but not working:
aTags=.document.getElementsByTagName('INPUT')
for x = 0 to aTags.length
.document.GetElementsByTagName("INPUT").Item(x).Click()
.document.GetElementsByTagName("INPUT").Item(x).Click
ENDFOR
It was originally posted in the HTML/CSS section and I couldn’t make any sense of this mumbo jumbo but it looked somewhat like JavaScript so I moved it here. What other programming language could that be?
<a>
The below is part of HTML Page:
style = "width:100%"
href = "javascript:CallSubmit('onLoginNow');"
class = "SAPClass"
onMouseOut = "window.status = '';"
onMouseOver = "window.status = unescape('Log on'); return true;">
Log on
</a>
I need to initiate the click for "OnLoginNow button. I have tried but to no avail.