List Info

Thread: Firefox Issues?




Firefox Issues?
user name
2008-01-02 17:45:43
Hi,

I developed my site using Internet Explorer v7.  Now I come
to find
out it doesn't work with firefox.

in my Javascript I have:

        self.form = getElement("loginForm");
        self.form.login.focus();

and I keep getting "self.form has no properties"
error message in the
Firefox Error Console.

Granted, this issue isn't that big a deal as it just isn't
focusing.
But I have other places where I get the exact same error
message
"self.form has no properties"

Here is the HTML for the form:

<form name='loginForm' action='process.html'
method='POST'
id="lfForm">
<div class="fieldLabel">Login:</div>
<div class="fieldEntry">
<select name='login'>
<option> A Bunch of Options </option>
</select></div>
<div
class="fieldLabel">Password:</div>
<div class="fieldEntry"><input
type='password' name='pw' size="15"
maxlength="100" value =""
/></div>
<div id="lfButton"><input type='submit'
name='lfSubmit' value="Login"
class='null'></div>

<input type="hidden"
name="validbrowser" value="false">
</form>

Can anyone provide advice/help?

Thanks,
-David

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "MochiKit" group.
To post to this group, send email to mochikitgooglegroups.com
To unsubscribe from this group, send email to
mochikit-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Firefox Issues?
user name
2008-01-02 17:52:53
getElement("loginForm") finds an element with an
id of "loginForm". IE
confuses name and id, other browsers don't. You don't have
any
elements with id="loginForm" in your markup. Try
using
getElement("lfForm").

-bob

On Jan 2, 2008 3:45 PM, infringer <infringergmail.com> wrote:
>
> Hi,
>
> I developed my site using Internet Explorer v7.  Now I
come to find
> out it doesn't work with firefox.
>
> in my Javascript I have:
>
>         self.form = getElement("loginForm");
>         self.form.login.focus();
>
> and I keep getting "self.form has no
properties" error message in the
> Firefox Error Console.
>
> Granted, this issue isn't that big a deal as it just
isn't focusing.
> But I have other places where I get the exact same
error message
> "self.form has no properties"
>
> Here is the HTML for the form:
>
> <form name='loginForm' action='process.html'
method='POST'
> id="lfForm">
> <div
class="fieldLabel">Login:</div>
> <div class="fieldEntry">
> <select name='login'>
> <option> A Bunch of Options </option>
> </select></div>
> <div
class="fieldLabel">Password:</div>
> <div class="fieldEntry"><input
type='password' name='pw' size="15"
> maxlength="100" value =""
/></div>
> <div id="lfButton"><input
type='submit' name='lfSubmit' value="Login"
> class='null'></div>
>
> <input type="hidden"
name="validbrowser" value="false">
> </form>
>
> Can anyone provide advice/help?
>
> Thanks,
> -David
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "MochiKit" group.
To post to this group, send email to mochikitgooglegroups.com
To unsubscribe from this group, send email to
mochikit-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Firefox Issues?
user name
2008-01-02 19:40:48
Thank you Bob!  That is exactly what my problem was.



On Jan 2, 6:52 pm, "Bob Ippolito" <b...redivi.com> wrote:
> getElement("loginForm") finds an element with
an id of "loginForm". IE
> confuses name and id, other browsers don't. You don't
have any
> elements with id="loginForm" in your markup.
Try using
> getElement("lfForm").
>
> -bob
>
> On Jan 2, 2008 3:45 PM, infringer <infrin...gmail.com> wrote:
>
>
>
>
>
> > Hi,
>
> > I developed my site using Internet Explorer v7.
 Now I come to find
> > out it doesn't work with firefox.
>
> > in my Javascript I have:
>
> >         self.form =
getElement("loginForm");
> >         self.form.login.focus();
>
> > and I keep getting "self.form has no
properties" error message in the
> > Firefox Error Console.
>
> > Granted, this issue isn't that big a deal as it
just isn't focusing.
> > But I have other places where I get the exact same
error message
> > "self.form has no properties"
>
> > Here is the HTML for the form:
>
> > <form name='loginForm' action='process.html'
method='POST'
> > id="lfForm">
> > <div
class="fieldLabel">Login:</div>
> > <div class="fieldEntry">
> > <select name='login'>
> > <option> A Bunch of Options </option>
> > </select></div>
> > <div
class="fieldLabel">Password:</div>
> > <div class="fieldEntry"><input
type='password' name='pw' size="15"
> > maxlength="100" value =""
/></div>
> > <div id="lfButton"><input
type='submit' name='lfSubmit' value="Login"
> > class='null'></div>
>
> > <input type="hidden"
name="validbrowser" value="false">
> > </form>
>
> > Can anyone provide advice/help?
>
> > Thanks,
> > -David- Hide quoted text -
>
> - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "MochiKit" group.
To post to this group, send email to mochikitgooglegroups.com
To unsubscribe from this group, send email to
mochikit-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )