<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35">
<TITLE>RE: [Javascript] Javascript JSP Question.</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Look at the page source in your browser and see what is actually sent to the browser.</FONT>
</P>

<P><FONT SIZE=2>Bob Filipiak (Contractor)</FONT>
<BR><FONT SIZE=2>MCP </FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Jan_Brusevold@ryder.com [<A HREF="mailto:Jan_Brusevold@ryder.com">mailto:Jan_Brusevold@ryder.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, May 30, 2001 3:35 PM</FONT>
<BR><FONT SIZE=2>To: javascript@LaTech.edu</FONT>
<BR><FONT SIZE=2>Subject: [Javascript] Javascript JSP Question.</FONT>
</P>
<BR>

<P><FONT SIZE=2>For some reason one of my pages refuses to navigate to the next if done a</FONT>
<BR><FONT SIZE=2>certain way in netscape.&nbsp; Below is the code.&nbsp; I've placed alert boxes</FONT>
<BR><FONT SIZE=2>before and after the frm.action tag, but for some reason it doesn't want to</FONT>
<BR><FONT SIZE=2>perform it.&nbsp;&nbsp; The function is called through an href tag wrapped around&nbsp; a</FONT>
<BR><FONT SIZE=2>graphic.&nbsp; This is a JSP page hence the embedded Java.&nbsp; The action string is</FONT>
<BR><FONT SIZE=2>simply the name of the next page that the application should go to.&nbsp; This</FONT>
<BR><FONT SIZE=2>only happens in Netscape.</FONT>
</P>

<P><FONT SIZE=2>Does anyone have any insight into what the problem might be?</FONT>
</P>

<P><FONT SIZE=2>Thanks- jan</FONT>
</P>
<BR>

<P><FONT SIZE=2>function SubmitForm(ID){</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp; var frm= document.ListForm;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp; actionString = &quot;&lt;%= actionString %&gt;?id=&quot; + &lt;%=ID %&gt;;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp; frm.action= actionString;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp; frm.submit();</FONT>
<BR><FONT SIZE=2>}</FONT>
</P>
<BR>

<P><FONT SIZE=2>Here's the code that calls the function:</FONT>
</P>
<BR>

<P><FONT SIZE=2>&lt;td class=&quot;tldOdd&quot; align=&quot;center&quot;&gt;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp; &lt;a href=&quot;javascript:SubmitForm('&lt;%=locations.getLocationID()%&gt;')&quot;&gt;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;IMG src=&quot;&lt;%= imagePath %&gt;details.gif&quot; ALT=&quot;Modify&quot; border=&quot;0&quot;&gt;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/a&gt;</FONT>
<BR><FONT SIZE=2>&lt;/td&gt;</FONT>
</P>
<BR>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Javascript mailing list</FONT>
<BR><FONT SIZE=2>Javascript@LaTech.edu</FONT>
<BR><FONT SIZE=2><A HREF="http://www.LaTech.edu/mailman/listinfo/javascript" TARGET="_blank">http://www.LaTech.edu/mailman/listinfo/javascript</A></FONT>
</P>

</BODY>
</HTML>