HighDots Forums  

Submit in base a radio button

Javascript (Italian) Il linguaggio JavaScript (it.comp.lang.javascript)


Discuss Submit in base a radio button in the Javascript (Italian) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dany
 
Posts: n/a

Default Submit in base a radio button - 09-13-2003 , 04:18 PM






Ciao!
Ho un form con radio button con 2 scelte.

Vorrei che in base alla scelta, l'utente fosse indirizzato in una pagina
diversa.


So che si puņ fare ma non so come...

Qualcuno sa dirmi come?




Reply With Quote
  #2  
Old   
Indec Mal
 
Posts: n/a

Default Re: Submit in base a radio button - 09-15-2003 , 03:45 AM







Quote:
Qualcuno sa dirmi come?

<input type="radio" name="x"
onClick="document.forms[0].action='x.jsp';document.forms[0].submit()">
<input type="radio" name="y"
onClick="document.forms[0].action='y.jsp';document.forms[0].submit()">


--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.