Jump to content
Sign in to follow this  
karliky

Problems clicking a button in IE

Recommended Posts

karliky

I have this button:

<button style="width: 100%" type="submit" onclick="return lanzo3();">Continuar Cierre</button>

and i used this code,but nothing happens:

_IELoadWait ($oIE)
     $o_submit = _IEGetObjByName ($oIE, "submit")
    _IEAction ($o_submit, "click")

:P

Share this post


Link to post
Share on other sites
weaponx

You are calling _IEGetObjByName yet your object has no name attribute...

Share this post


Link to post
Share on other sites
karliky

You are calling _IEGetObjByName yet your object has no name attribute...

_IEGetObjByAttribute? :P

Share this post


Link to post
Share on other sites
weaponx

_IEGetObjByAttribute? :P

This one is a little tricky because the html is bad. The element doesn't have a name or id attribute.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×