Subj : Re: location href
To : Scott Tarone
From : Brendan Eich
Date : Fri Sep 10 2004 03:14 pm
Scott Tarone wrote:
> Hello,
Wrong newsgroup -- see headers.
/be
> I am having a problem with a redirection and this problem only happens with
> the Firefox browser, it works with IE, so I must be doing something wrong.
> The submit button on the form takes the user along the default path through
> the web app, but for the alternate path, I have the following...
>
> print "
";
> print "
";
> print "To modify an existing class, provide the class name then click
> the button to the right. ";
> print "";
> print "
";
> print "
";
> print "";
> print "
";
> print "
";
>
> with the JavaScript as follows:
>
> function ClickModifyClassButton()
> {
>
> var className;
> // Make sure we have a class name
> if (document.ClassCreatorModeForm.className.value == "")
> {
> alert("Please provide the name of the class you would like to modify.");
> return(false);
> }
> className = document.ClassCreatorModeForm.className.value;
>
> window.location.href("SetupToModifyExistingClassDocumentation.php?ClassName=
> "+className+"");
>
> }
>
> When I click the button in IE, the page redirect works fine, when I use
> Firefox, it does nothing (Loading.... then nothing happens).
>
> Thanks in advance,
> Scott
>
>
.