Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [jquery] czemu nie dziala submit strony na change()
AndyPSV
post
Post #1





Grupa: Zarejestrowani
Postów: 393
Pomógł: 5
Dołączył: 6.02.2003
Skąd: The.Luciferian.Doctrine.p
df

Ostrzeżenie: (30%)
XX---


jak w temacie.

  1. <script type="text/javascript">$(function() {$("input[@name='curr']").change(function() {$("#form").submit();});});</script>
  2.  
  3. <form action='____XXXX____' method="POST" id='form'><div><input type='hidden' name='st' value='k'/>
  4.  
  5. <input type='radio' name='curr' id='pln' value='pln'/> <label for='pln'>PLN</label><br/><input type='radio' name='curr' id='eur' value='eur'/> <label for='eur'>EUR</label><br/><input type='radio' name='curr' id='usd' value='usd'/> <label for='usd'>USD</label><br/><input type='radio' name='curr' id='gbp' value='gbp'/> <label for='gbp'>GBP</label><br/><input type='radio' name='curr' id='chf' value='chf'/> <label for='chf'>CHF</label><br/><input type='submit'/></div></div></form>
Go to the top of the page
+Quote Post

Posty w temacie
- AndyPSV   [jquery] czemu nie dziala submit strony na change()   25.10.2010, 18:44:28
- - Wicepsik   usuń @ przed name   25.10.2010, 18:58:00


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.08.2025 - 09:20