Hi i have this situation:
href="javascript:void(0);">login
I would like click in "login", but i don't how to reach this element using javascript. Is it possible?
Thaks
login I would like click in "login", but i don't how to reach this element using javascript. Is..." /> login I would like click in "login", but i don't how to reach this element using javascript. Is..." /> login I would like click in "login", but i don't how to reach this element using javascript. Is..."/>
Hi i have this situation:
href="javascript:void(0);">login
I would like click in "login", but i don't how to reach this element using javascript. Is it possible?
Thaks
Why don't you give it an id, like
<a href="javascript:void(0);" id="btn_login">Login</a>
and then referring it simply bydocument.getElementById('#btn_login')
?