cucumber Posted April 30, 2007 Report Share Posted April 30, 2007 (edited) Ir lapa pilnigi valideta ar xhtml parseri, bet uz IE submiti nestrada, tas ir refresh notiek, bet skatoties ar php posta masiva nav submit pogas, isak sakot nevar palaist formu caur enter, ka var atrisinat sho problemu bez javascripta? Edited April 30, 2007 by cucumber Link to comment Share on other sites More sharing options...
andrisp Posted April 30, 2007 Report Share Posted April 30, 2007 Ja nosūti formu ar enter, tad pēc idejas submit poga nemaz netiks nosūtīta līdzi. Vai arī nepareizi tevi sapratu. Link to comment Share on other sites More sharing options...
bubu Posted April 30, 2007 Report Share Posted April 30, 2007 Pamēģini uztaisīt input hidden lauku ar tādu pašu name un value kā submit pogai ;) Link to comment Share on other sites More sharing options...
dmitriy Posted May 1, 2007 Report Share Posted May 1, 2007 (edited) paradi kodu, tapec ka man ideali strada tads kods: <form ...> ... <input type="submit" name="new-button" value="Press Me" /> </form> Edited May 1, 2007 by dmitriy Link to comment Share on other sites More sharing options...
bubu Posted May 1, 2007 Report Share Posted May 1, 2007 dmitriy: atver Internet Explorerī noliec kursoru uz submit pogas un nospied Enter (un NE are PELI!!!). Nekas tur iedāli nestrādās. Link to comment Share on other sites More sharing options...
dmitriy Posted May 1, 2007 Report Share Posted May 1, 2007 (edited) Man kadas divainibas ir ar to. Piem. sis kods strada: <form action = "index.php" method = "POST" class = "" id = "" name = "" > <input type="text" name="email" value="" /><br/> <input type="text" name="location" value="" /><br/> <input type="submit" name="new-comment" value="new-comment" /><br/> </form> <?php print_r($_POST); ?> bet sitais jau nestrada <form action = "index.php" method = "POST" class = "" id = "" name = "" > <input type="text" name="location" value="" /><br/> <input type="submit" name="new-comment" value="new-comment" /><br/> </form> <?php print_r($_POST); ?> kaut kadas divainibas, ar vienu input field nestrada, bet ar diviem viss normali p.s ja ar TAB'u izveleties pogu, tad viss strada abos gadijumos Edited May 1, 2007 by dmitriy Link to comment Share on other sites More sharing options...
bubu Posted May 1, 2007 Report Share Posted May 1, 2007 Ok, nepareizi atcerējos. Bija jāspiež Enter, kad atrodies input type="text" laukā. Kā pats redzi otrajā gadījumā nekas nestrādā kā vajag. Tik nez kāpēc pirmajā strādā... nezkāpēc biju domājis, ka IE vispār nesūta submit lauka vērtību, ja ar enter nosubmito. Link to comment Share on other sites More sharing options...
overmind Posted May 22, 2007 Report Share Posted May 22, 2007 Ev, a kā varēja ar img submitot? Nekad neesmu mēģinājis.. Link to comment Share on other sites More sharing options...
andrisp Posted May 22, 2007 Report Share Posted May 22, 2007 <input type="image" src="" /> Vai arī vienkārši ar CSS nostailo parasto submitu. Link to comment Share on other sites More sharing options...
Recommended Posts