On May 6, 1:00 am, "alvarojavierv...@gmail.com"
<alvarojavierv...@gmail.com> wrote:
> Allways I think Firefox was strong, enough ... and so far THE BEST Web-
> browser (That what I Think) but, now Im fighting with it, may be Im
> doing something wrong (of course that is what happend to me)
> <script LANGUAGE="JavaScript">
Unless you are working with HTML 3.2, which would be a very odd
choice, your HTML is invalid. Broken HTML is a shaky foundation to
build JavaScript on.
> <!--
These comments are worthless today, they're there to hide the JS from
Netscape 2 era browsers.
> var msg1="";
> var msg2="";
> function Mostrar(valor)
> {
> var msg1
You have a variable called msg1 in the global scope (an empty string)
and now you create another one scoped to this function. Are you sure
you want to do that?
> =window.document.formulario2.seccionA.options[
Most people leave the "window" off that. I'd also suggest using:
document.forms['forumulario2'].elements['seccionA'].options for
clarity.
> formulario2.seccionA.selectedIndex].value;
formulario2 is undefined here... but the JavaScript console (or
Firebug) on Firefox should have told you that.
> </script>
> <tr>
I take it back. You aren't writing HTML 3.2, that is just plain
invalid. Use a validator.
http://validator.w3.org/