hi
i am kindda new to javascript
could any one help me with this problem
if you cut and paste this and run with IE or netscape
you should get
the following fields
service code drop down
location code
school code
service school code
There are tabs on the interface
how can i use javascript to tie the tabs and the fields together
in other words if i enter the values in the form how do i use javascript
sothat when i click thee form i will get values from the form
-------------------------------------------------------------------------------
--------------------------------------------------------------------------------
<html>
<head>
<title>nfgndnbdnfo</title>
<I> <a href=trrms.maintain_training_info.mainpg><font color=blue><B>refresh
page</font></B></a> </I><br>
</head>
<body background="/images/trrms_bakgnd.gif" bgcolor="white">
<TABLE width="100%">
<TR>
<TD><IMG WIDTH=182 HEIGHT=46 SRC="/images/trrms_logo_sm.gif"
ALT="" border="0"></TD>
<TD ALIGN="left" width="99%">
<script>
<!-- hide this
function DoHelp() {
var targ="/web/help/maintain_training_info.htm"
HelpWin = window.open(targ, "help_win", "height=450,width=750,status=no,scrollbars");
var x = Math.floor((screen.availWidth - HelpWin.outerWidth)/2);
var y = Math.floor((screen.availHeight - HelpWin.outerHeight)/2);
HelpWin.moveTo(x,y);
HelpWin.window.focus();
HelpWin.opener=self;
return false;
}
// -->
</script>
<a href="" onClick="return DoHelp();"><img src="/images/helpcustom.gif" alt="Click
here for Help"align="right" width="37" height="42" border="0"></a>
<Font size=+3>Maintain Training Information</font>
</TD>
</TR>
</TABLE>
<BR>
<TABLE WIDTH="550" CELLPADDING=0 CELLSPACING=0
BORDER=0 BGCOLOR="#000000">
<TR>
<TD>
<CENTER>
<FONT SIZE="3" COLOR="#EEEEEE" FACE="ARIAL">
<B><Font size=+1><I>Find Information on Services,Locations, Schools &
Courses</I></font></B></FONT>
</CENTER>
</TD>
</TR>
</TABLE>
<TABLE CELLPADDING=0 BORDER=0 CELLSPACING="0"
WIDTH="550" BGCOLOR="#66FFCC">
<TR>
<TD>
<FONT FACE="">
<BR>
<I>This interface gives you the ability to find all locations for a given
service.You can also
see schools for a given location or for a given school the courses tab will give
you all courses offered in the school.
further help is available by clicking on the help icon on the upper right corner of
the page.</I>
</FONT>
</TD>
</TR>
</TABLE>
<form>
<tr>
<table border=3 bordercolor="#66FFCC" CELLPADDING=0 BORDER=0 CELLSPACING="0"
<tr>
<td> Service Code </td>
<td>
<select name="in_service_code" size="1">
<option value="A">A</option>
<option value="C">C</option>
<option value="D">D</option>
<option value="F">F</option>
<option selected value="M">M</option>
<option value="N">N</option>
<option value="O">O</option>
<option value="W">W</option>
</select>
</td>
<tr>
<td align=right>Location Code </td>
<td align=left><input type=text name=in_location_code value="" size=5
maxlength=2></td>
</tr>
<tr>
<td align=right>School Code</td>
<td align=left><input type=text name=in_school_code value="" size=5
maxlength=1></td>
</tr>
<tr>
<td align=right>Service School<br>Code</td>
<td align=left><input type=text name=in_service_school_code value="" size=5
maxlength=3></td>
</tr>
</tr></table>
<tr>
<TABLE border="0" cellspacing="0" cellpadding="0" width="100%"><TR><TD><IMG SRC=""
WIDTH=1 HEIGHT=17 BORDER=0></TD></TR>
<TD valign="bottom"><TABLE border="0" cellspacing="0" cellpadding="0" width="100%">
<TD height=19 bgcolor="#FF0000" valign="top"><IMG src="/images/leftcurve.gif"
width=10 height=19 border=0></TD><TD align="CENTER" valign="MIDDLE"
bgcolor="#FF0000"><FONT SIZE="1" FACE="ARIAL" COLOR="WHITE">locations</FONT></TD><TD
height=19 bgcolor="#FF0000" valign="top" align="right"><IMG
src="/images/rightcurve.gif" width=10 height=19 border=0></TD>
<TD height=19 bgcolor="#8C9429" valign="top"><IMG src="/images/leftcurve.gif"
width=11 height=19 border=0></TD><TD align="CENTER" valign="MIDDLE"
bgcolor="#8C9429"><FONT SIZE="1" FACE="ARIAL"><A
href=trrms.maintain_training_info.mainpg?in_selected_tab=SCHOOLS> <font
size=2><b><I>Schools</I></b></A></FONT></TD><TD height=19 bgcolor="#8C9429"
valign="top" align="right"><IMG src="/images/rightcurve.gif" width=10 height=19
border=0></TD>
<TD height=19 bgcolor="#8C9429" valign="top"><IMG src="/images/leftcurve.gif"
width=11 height=19 border=0></TD><TD align="CENTER" valign="MIDDLE"
bgcolor="#8C9429"><FONT SIZE="1" FACE="ARIAL"><A
href=trrms.maintain_training_info.mainpg?in_selected_tab=COURSES> <font
size=2><b><I>Courses</I></A></TD><TD height=19 bgcolor="#FFFF10" valign="top"
align="right"><IMG src="/images/rightcurve.gif" width=10 height=19 border=0 ></TD>
</TABLE></TD></tr></TABLE>
<tr>
<table border=3>
<font color=blue size=3><b>27 Locations Found. </b> </font>
<BR>
<I>To find schools in a particular location select the location and click schools
tab .
<th>Location Code</th>
<th>Location Name</th>
<th>Status</th>
</tr>
<tr>
<td>08</td>
<td>MCRD SAN DIEGO, CA</td>
<td>A</td>
</tr>
<tr>
<td>09</td>
<td>MCAGCC TWENTYNINE PALMS, CA</td>
<td>A</td>
</tr>
<tr>
<td>10</td>
<td>MCB CAMP PENDLETON, CA</td>
<td>A</td>
</tr>
<tr>
<td>11</td>
<td>EWTGLANT (MC ELEMENT), NAB LITTLE CR, VA</td>
<td>A</td>
</tr>
<tr>
<td>12</td>
<td>EWTGPAC (MC ELEMENT), NAB CORONADO, CA</td>
<td>A</td>
</tr>
<tr>
<td>13</td>
<td>MCAS EL TORO, CA</td>
<td>A</td>
</tr>
<tr>
<td>14</td>
<td>MCAS YUMA, AZ</td>
<td>A</td>
</tr>
<tr>
<td>15</td>
<td>VARIOUS LOCATIONS</td>
<td>A</td>
</tr>
<tr>
<td>16</td>
<td>MCAS BEAUFORT, SC</td>
<td>A</td>
</tr>
<tr>
<td>17</td>
<td>MCAS MIRAMAR, CA</td>
<td>A</td>
</tr>
<tr>
<td>18</td>
<td>NB NORFOLK, VA</td>
<td>A</td>
</tr>
<tr>
<td>19</td>
<td>MARE ISLAND, CA</td>
<td>A</td>
</tr>
<tr>
<td>20</td>
<td>MCAS(H) TUSTIN, CA</td>
<td>A</td>
</tr>
<tr>
<td>21</td>
<td>MCB KANEOHE BAY, HI</td>
<td>A</td>
</tr>
<tr>
<td>22</td>
<td>MCB SMEDLEY D. BUTLER, OKINAWA, JA</td>
<td>A</td>
</tr>
<tr>
<td>23</td>
<td>MCAS CAMP PENDLETON, CA</td>
<td>A</td>
</tr>
<tr>
<td>24</td>
<td>MWTC BRIDGEPORT, CA</td>
<td>A</td>
</tr>
<tr>
<td>25</td>
<td>OCEANA, VA</td>
<td>A</td>
</tr>
<tr>
<td>99</td>
<td>VARIOUS LOCATIONS</td>
<td>I</td>
</tr>
<tr>
<td>07</td>
<td>MCLB ALBANY, GA</td>
<td>A</td>
</tr>
<tr>
<td>01</td>
<td>HQMC WASHINGTON, D.C.</td>
<td>I</td>
</tr>
<tr>
<td>02</td>
<td>MCCDC QUANTICO, VA</td>
<td>A</td>
</tr>
<tr>
<td>03</td>
<td>MCB CAMP LEJEUNE, NC</td>
<td>A</td>
</tr>
<tr>
<td>04</td>
<td>MCAS CHERRY POINT, NC</td>
<td>A</td>
</tr>
<tr>
<td>05</td>
<td>MCAS NEW RIVER, NC</td>
<td>A</td>
</tr>
<tr>
<td>06</td>
<td>MCRD PARRIS ISLAND, SC</td>
<td>A</td>
</tr>
<tr>
<td>30</td>
<td>KEESLER AIR FORCE BASE</td>
<td>A</td>
</tr>
</table>
<hr width="90%" align="left">
<font size="-1">08-Jun-2001 11:02<br>USMC Training & Education Command -
703/784-3065 - DSN/278-3065<br>email: <a href="mailto:johnsontj@t..."><font
color="blue"
style="text-decoration:none">johnsontj@t...</font></a><br></font>
<font size="-1">(This transaction has taken 0.00 seconds)
<span id="trrmstag" style="position:absolute; top:-32; left:5; width: 48; height: 16;
z-index: -1"><a href="trrms.main.html" target="_top"><img src="/images/trrms_tag.gif"
border="0" width="48" height="16" name="scrollieTrrmsTag"></a></span>
<script language="JavaScript" src="/web/trrms_walker.js">
</script>
</form>
</body>
</html>