<!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. Below is the code. 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. The function is called through an href tag wrapped around a</FONT>
<BR><FONT SIZE=2>graphic. This is a JSP page hence the embedded Java. The action string is</FONT>
<BR><FONT SIZE=2>simply the name of the next page that the application should go to. 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> var frm= document.ListForm;</FONT>
<BR><FONT SIZE=2> actionString = "<%= actionString %>?id=" + <%=ID %>;</FONT>
<BR><FONT SIZE=2> frm.action= actionString;</FONT>
<BR><FONT SIZE=2> 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><td class="tldOdd" align="center"></FONT>
<BR><FONT SIZE=2> <a href="javascript:SubmitForm('<%=locations.getLocationID()%>')"></FONT>
<BR><FONT SIZE=2> <IMG src="<%= imagePath %>details.gif" ALT="Modify" border="0"></FONT>
<BR><FONT SIZE=2> </a></FONT>
<BR><FONT SIZE=2></td></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>