Click to See Complete Forum and Search --> : Display Form in a different section?


gnanesh
07-11-2003, 02:52 PM
I have a page (JSP), top portion of the page contains an Table and i have around 5 Rows, when the user clicks any of the rows
i need to display the corresponding information in the bottom portion of the SAME page, As i don't want to take the user to another page,
Kindly let me know how to do this, If you any code that would be appreciated

Thanks
GG

David Harrison
07-11-2003, 04:01 PM
I don't know how you'd do this with jsp but with normal HTML you could just use iframes.

To create a frame do this:

<iframe frameborder="0" marginheight="0" marginwidth="0" name="frame1" noresize="true" scrolling="true" src="http://www.w3.org/">Text that appears if frames don't work.</iframe>

and to go to a different page in that frame do this:

<a href="http://www.geocities.com/caulolli/">New Page</a>

DaveSW
07-11-2003, 04:15 PM
Originally posted by lavalamp
<a href="http://www.geocities.com/caulolli/">New Page</a>

Isn't there a target attribute missing there?

David Harrison
07-11-2003, 04:18 PM
Duh ... :(

Sorry about that, there should be a target="frame1" in there.