No code has changed, but it works now.  I have no idea why.  The rest of the
note was typed before I tried it again.
----------------------------------------------------------------------------
------------------------------
I don't think it's a javascript problem.  It may be the way IBM Enterprise
Information Portal forwards you
to it's dynamic pages.  The checkFields() code gets called, as I've hit it
when entering invalid data.
When submit is called, the browser tries to read the current directory (a
href="") which is not allowed.

I've removed the angle brackets to try to keep viewers from running the
code.

META content="MSHTML 5.00.2920.0" name=GENERATOR
...
/script
form action="./logon.jsp" name="form"  method="post"
INPUT TYPE="HIDDEN" NAME="action" VALUE=""
...
TD align=middle colSpan=2 width="100%"
a href="" onClick="if(checkFields()){ submit(); return false;} else return
false;"img src="./images/LogInButton.jpg" height=27 width=80
border=0/a 
a href="" onclick="reset(); return false;"IMG src="./images/ClearButton.jpg"
height=27 width=80 border=0/A 
a href="" onClick="actionlogout(); if(checkFields()){ submit(); return
false;} else return false;"img src="./images/LogOffButton.jpg" height=27
width=80 border=0/a

If everything works well, the logon jsp's HTML ends up being:

 %>
jsp:forward page="./hello.jsp" /
<%

"Daniel Veditz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> jesus X wrote:
> >
> > Rick wrote:
> > >
> > > I'm updating some javascript for a government site, and I'd like to
make
> > > any changes necessary for it to run with Mozilla.  The code was
> > > originally generated with Microsoft tools, so I'm suprised that it
even
> > > works under Netscape.  The logon page fails when loaded with Mozilla,
so
> > > I'd like to know where I can post the code and have it evaluated.
> >
> > Well, the netscape.public.mozilla.jseng is the Javascript engine
newsgroup
> > (not Javascript english as the name would suggest), but it'd be best to
post
> > an URL to the code, as opposed to the whole code. I'd like a peek at it
as
> > well.
>
> The "javascript engine" has nothing to do with most people's site
scripting
> problems. That group has to do with the internal workings of javascript,
not
> with specific browser objects or DHTML coding. Avoiding misdirected
> questions like this is part of why they chose the cryptic "jseng" name for
> the group.
>
> -Dan Veditz



Reply via email to