Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Javascript JSP Question.
- From: javascript@xxxxxxxxxx (javascript@xxxxxxxxxx)
- Subject: [Javascript] Javascript JSP Question.
- Date: Wed, 30 May 2001 16:06:05 -0400
I verified the data. The string was exactly what I wanted it to be.
I was hoping there was some small idiosynchracy (sp.) with JavaScript and
Netscape 4.77 that I maybe had missed b/c I've been over and over my code
and I can't find anything wrong.
Thanks to everyone for the help. Open to more ideas...
Jan
Mark Christie <MChristie@xxxxxxxxxxxx>@LaTech.edu on 05/30/2001 03:05:10 PM
Please respond to javascript@xxxxxxxxxx
Sent by: javascript-admin@xxxxxxxxxx
To: "'javascript@xxxxxxxxxx'" <javascript@xxxxxxxxxx>
cc:
Subject: RE: [Javascript] Javascript JSP Question.
How about trying:
actionString = "<% =actionString %>?id=<% =ID %>";
I also assume your alert boxes were something like this:
alert(actionString);
...to verify the data? What text is in the alert box then?
Regards,
-Mark C.
-----Original Message-----
From: Jan_Brusevold@xxxxxxxxx [mailto:Jan_Brusevold@xxxxxxxxx]
Sent: Wednesday, May 30, 2001 2:35 PM
To: javascript@xxxxxxxxxx
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@xxxxxxxxxx
http://www.LaTech.edu/mailman/listinfo/javascript
_______________________________________________
Javascript mailing list
Javascript@xxxxxxxxxx
http://www.LaTech.edu/mailman/listinfo/javascript
- Prev by Date: [Javascript] Javascript JSP Question.
- Next by Date: [Javascript] image rollover
- Previous by thread: [Javascript] Javascript JSP Question.
- Next by thread: [Javascript] image rollover
- Index(es):