Click to See Complete Forum and Search --> : Display using DIV & IFRAME
gnanesh
07-14-2003, 06:33 AM
folks
I have a form which is being developed in JSP, I need to display different forms in the bottom portion based on user selection in the upper portion using an onClick event, I guess this will work with DIV or IFRAME tags,
I know its very easy for many of you , but if any one has a piece of code that would be really helpful,
Thanks
GG
Charles
07-14-2003, 06:58 AM
Originally posted by gnanesh
folks
I have a form which is being developed in JSP, I need to display different forms in the bottom portion based on user selection in the upper portion using an onClick event, I guess this will work with DIV or IFRAME tags,
I know its very easy for many of you , but if any one has a piece of code that would be really helpful,
Thanks
GG DIV no, IFRAME yes. And don't rely upon JavaScript, you'll only make for yourself a page that fails for 13% of users.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Example</title>
<ul>
<li><a href="formOne.jsp" target="formWindow">one</a></li>
<li><a href="formTwo.jsp" target="formWindow">two</a></li>
<li><a href="formThree.jsp" target="formWindow">three</a></li>
</ul>
<iframe src="" name="formWindow"></iframe>
gnanesh
07-14-2003, 07:32 AM
Charles
Thanks for your code & suggestion, By the way i don't want to show the frame in any of my frames, I just need to display the form when the user selects any of the drop down list or selects the Row of an table with an onClick event, the Bottom portion of the form should be free to display whatever the User selects,
Let me know about this
GG