Hi, I have a jsp form used in the struts architecture. The condensed jsp code is given below:
Author of JPhotoBrush Pro (www.jphotobrushpro.com)
"Walking on water and building IT Architecture from <br />specification are easy if and only if both are frozen"
Joined: Dec 11, 2000
hi, thankx for the reply. Actually, this is not what I want. Let me explain with another simpler example: I have one 'account' select property with options 'saving' and 'corporate'. Initially the 'saving' option will be selected by default.
There is another select with property 'accountType' with options 'single' and 'non-single' (whose display value is 'joint'). 'single' option is selected by default.
So the code will be
Now when I change selection of 'saving' option to 'corporate' option in the 'accounts' select item, in the 'accountType' select item, the display value of 'non-single' option becomes 'dual' from 'joint'. That is when the 'account' is 'saving' in the first drop down box, user can see 'single' and 'joint' in the second drop down box. when user chooses 'corporate' in the first drop down box, he can see 'single' and 'dual' in the second drop down box. So the display word 'joint' has been replaced with 'dual' in the second option in the 'accountType' select item, while the first option 'single' remains unchanged . the Vice versa will occur when he chooses 'saving' from 'corporate' in the first select item, i.e. the 'dual' word will change to 'joint'.
Hope this explains my need in more detail Tanveer [ August 18, 2004: Message edited by: Tanveer Rameez ]