HP3000-L Archives

March 1999, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Wilkinson <[log in to unmask]>
Reply To:
Date:
Wed, 31 Mar 1999 17:20:41 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
I'm trying to write a wee bit of javascript which takes the contents of a
dropdown box, concatenates it
with a whole bunch of other stuff to make a url and navigates a particular frame
to that url. The code below
works fine under IE4 but breaks under Netscape 3. The backend cgi program is
actually a COBOL prog
running on a 3000 (thanks Lars) under Apache.

-------------------
<p><script language="JavaScript"><!--
function getpage(xview, xpage) {

var xbfilm
var xfilm
var xurl

xbfilm = document.form.film
xfilm = xbfilm.value

if (xfilm == '$None') {
   alert('Please Select a Film first');
   return }

xurl = '/cgi-bin/webminf?' + xfilm + '&' + xview + '&' + xpage

top.minfmain.location = xurl

return
}
// --></script></p>
-------------------

Any ideas on what could be the problem would be appreciated.

ATOM RSS1 RSS2