Moin Moin !
function paw()
{
top.location.href=document.ifo1.pw.value+".htm"
}<td><form name=ifo1><p>
<input type="password" name="pw" size=8 onselect="paw()">
<input type="button" value="ok" onclick="paw()">
</p></form>
</td>
Gültiges HTML ist das wohl nicht, aber das ist hier nicht die Frage.
<FORM> erzeugt schon einen Absatz, da ist <p> überflüssig. Auch das ist hier nicht die Frage.
<FORM> hat einige Pflicht-Attribute, die fehlen, das ist aber hier nicht die Frage.
Die Antwort auf dein Problem ist der onsubmit-Handler, den Du unter http://selfhtml.teamone.de/javascript/sprache/eventhandler.htm#onsubmit findest.
Alexander
--
Nein, ich beantworte keine Fragen per eMail. Dafür ist das Forum da.
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so!"
Nein, ich beantworte keine Fragen per eMail. Dafür ist das Forum da.
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so!"