I have a form with multiple seizures which to choose between various input occurrences in radio (only one choice possible). I would hope that if the user selected in a particular ca do that automatically appear in a form more in my jsp page
eg:
1 choice []
2 choice []
3 choices []
If you chose option 1 or option 2 ca just displays:
the value of the choice
If you chose option 3 ca automatically add:
Systolic: | ______ |
distolique: | ________ |
Lice: | _________ |
temperature: | _________ |
I tried with
Expand|Select|Wrap|Line Numbers
- etape2forward function () {
- $ ("# Etape2_forward"). Click (function () {
- if ($ ("[name = 'etatVisuel']: checked") val () = 4.!)
- {
- $ ("# Systolic") hide ().
- $ ("# Digsystolique"). Hide ()
- $ ("# Lice"). Hide ()
- $ ("# Temperature"). Hide ()
- $ .ajax ({
- url: '/ GHopital / emergency / save'
- Type: 'POST'
- data: {"idPatient": $ ("# idPatient") val ().
- "EtatVisuel": $ ("[name = 'etatVisuel']: checked") val ().
- },
- success: function (idUrgence) {
- window.location = "# / emergency / read /" + idUrgence;
- }
- });
- }