Re: Nefungujúci javascript

From: MiSHAK <imishak (zavinac)>
Date: 28. 11. 2005, 14:58 CET
Stary:
                  <form action="#" id="formular" onsubmit="return(false);">
                    <fieldset>
                      <label for="heslo">

                        Interná sekcia
                      </label>
                      <input type="text" size="30" id="heslo" name="heslo" />
                      <input type="submit" class="button"
value="Vstúpiť" onclick="window.location.href = '' +
document.formular.heslo.value + '.php' " />
                    </fieldset>
                  </form>
------------------------------------------------------------------------------------------------------------------------------
Novy:
                  <form action="#" id="formular"
onsubmit="location.href = heslo.value + '.php' return (false);">
                    <fieldset>
                      <label for="heslo">
                        Interná sekcia
                      </label>
                      <input type="password" size="30" id="heslo"
name="heslo" />
                      <input type="submit" class="button" value="Vstúpiť" />
                    </fieldset>
                  </form>
--
._00 MiSHAK[18] << http://mishak.wz.cz 00_.
Received on Mon, 28 Nov 2005 14:58:47 +0100

This archive was generated by hypermail 2.1.8 : 28. 11. 2005, 14:58 CET