You are here: Fake submit button & return « HTML « IT news, forums, messages
Fake submit button & return

Posted by Ike on 05/03/06 17:29

I'm hoping someone can tell me how to do something which, though trivial to
some, I'm really struggling with here. If I have an href, which, through the
magic of CSS, we make appear as a button (a surrogate Submit button no
less), I somehow need to make it pick up when "enter" ("return") is pressed,
so that it acts like a real Submit button. In other words, I think somehow
the href needs to pick up the focus, and if it HAS the focus, will it then
act the same as if it were clicked upon? Below is the construction of the
button, without the css:

<div class="rvbuttons" style="padding-right:81px;" >
<a href="javascript:document.frmLogin.submit();" align="left"
class="rvbutton" style="float:center;" onClick="return
chkLogin()">Submit</a>
</div>

TIA, Ike

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация