 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
hkhan12
Joined: 13 Apr 2005 Posts: 1
|
Posted: Tue Apr 19, 2005 1:42 pm Frame Linking |
|
|
|
Hi HTML Experts,
I'm kind of new to HTML, specially to Frames.
I have two frames. Left frame displaying REGIONS coming from a database. Right frame need to display a complete record coming from a database once a REGION is selected from left frame.
Basically, clicking on a region for instance, DEV10, and than I want to display DEV10 record coming from a database. I have all queries to get data from database. Even I'm displaying all my REGIONS in left frame and they are clickable, Once i click on a specific region, how the selected region record will display on the right frame.
I also wants to understand once the user select a region, I have to take that selected region variable and perform a database query in a separate program called for say xyz.jsp based on the selected region.
Here is my code.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<TITLE>A simple frameset document</TITLE>
</HEAD>
<FRAMESET cols="20%, 80%">
<FRAMESET rows="200">
<FRAME src="RBUtilityMain.jsp" NAME=SIDEBAR>
<FRAME NAME=MAIN>
</FRAMESET>
<NOFRAMES>
<P>This frameset document contains:
<UL>
<LI><A href="contents_of_frame1.html">Some neat contents</A>
<LI><IMG src="contents_of_frame2.gif" alt="A neat image">
<LI><A href="contents_of_frame3.html">Some other neat contents</A>
</UL>
</NOFRAMES>
</FRAMESET>
</HTML>
Any help would be highly appreciated. |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|