[Javascript] Javascript JSP Question.

Filipiak, Bob (Contractor) filipiab at atsc.army.mil
Wed May 30 14:59:41 CDT 2001


Look at the page source in your browser and see what is actually sent to the
browser.

Bob Filipiak (Contractor)
MCP 

-----Original Message-----
From: Jan_Brusevold at ryder.com [mailto:Jan_Brusevold at ryder.com]
Sent: Wednesday, May 30, 2001 3:35 PM
To: javascript at LaTech.edu
Subject: [Javascript] Javascript JSP Question.


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

Does anyone have any insight into what the problem might be?

Thanks- jan


function SubmitForm(ID){
     var frm= document.ListForm;
     actionString = "<%= actionString %>?id=" + <%=ID %>;
     frm.action= actionString;
     frm.submit();
}


Here's the code that calls the function:


<td class="tldOdd" align="center">
     <a href="javascript:SubmitForm('<%=locations.getLocationID()%>')">
          <IMG src="<%= imagePath %>details.gif" ALT="Modify" border="0">
     </a>
</td>


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010530/63a707bb/attachment.htm>


More information about the Javascript mailing list