html form using input as a submit button

Posted by Mike on Stack Overflow See other posts from Stack Overflow or by Mike
Published on 2010-05-14T04:12:44Z Indexed on 2010/05/14 4:24 UTC
Read the original article Hit count: 260

Filed under:
|
|

Hello onlookers,

A web site I've been using has some interesting behavior... There is a form, but there is no button for submission. Instead, there is an input:

<input id="ctl00_pageContent_loginButton" type="image"
  style="border-width: 0px;" alt="Login" src="images/btn_login.gif"
  name="ctl00$pageContent$loginButton"/>

and when you hover over it the cursor turns into a hand, like an anchor tag -- however I do not see any css (in firebug) showing that the input should have a hover attribute. Further, the input does not have any sign of being an actual link/submission button. I'm stumped -- would love to know how they were able to do this.

The web page is: https://my.sa.ucsb.edu/gold/Login.aspx

Thank you!

© Stack Overflow or respective owner

Related posts about html

Related posts about css