From: "JUTTIGA PHANIDHAR" <[EMAIL PROTECTED]>
> Can anyone let me know how to display or hide a table
> based on the choice of a radio button.
> Initially both the tables will be hidden and one among
> them will be displayed on the click of a radio button.

With or without a form submit, or does it matter?  I'd make the form submit
when the radio button is clicked, then use <c:if> to decide whether to show
sections of the page.  But there must be a dozen ways to do this, just
depends on what you prefer.

For the HTML purists-- a set of radio buttons with nothing pre-selected is
invalid HTML.  So you ought to come in with a default value, even if it's
"None of the above."

-- 
Wendy Smoak



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to