To test to see whether there is multiple elements with an id ==
"Something", use this:
$('[EMAIL PROTECTED]')
When you use $('#Something') the getElementById() function is used and
that will only return one element (or none).
Karl Rudd
On 3/8/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
> Thanks, Karl...
>
> I guess I just enter $(#Mortgage_Calculation_Form") on the line
> and hit enter?
>
> If that's correct, then it's only showing one line following that:
>
> [form#Mortgage_Calculation_Form]
>
> It doesn't show but one reference to that id...
>
> Rick
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karl Rudd
> Sent: Wednesday, March 07, 2007 10:04 PM
> To: jQuery Discussion.
> Subject: Re: [jQuery] Need help implementing validation...
>
> - Open Firebug.
> - Make sure the "Console" tab is selected.
> - Down the bottom there is a small text area the has ">>>" at the start of it.
> - Enter JavaScript you want to run in there and hit Enter.
>
> Karl Rudd
>
> On 3/8/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
> > Thanks, Jorn...
> >
> > I'll check on the element with the same id.
> >
> > I've got FF and Firebug up and running and have been using
> > it, but I'm unsure how to do what you suggest:
> >
> > " Get Firebug and execute this on the console to see the element:
> > $("#Mortgage_Calculation_Form")"
> >
> > How exactly do I "execute this on the console?"
> >
> > Rick
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> > Behalf Of Jörn Zaefferer
> > Sent: Wednesday, March 07, 2007 6:26 PM
> > To: jQuery Discussion.
> > Subject: Re: [jQuery] Need help implementing validation...
> >
> > Rick Faircloth schrieb:
> > > Thanks for looking at it, Jorn...
> > >
> > > It's still not working. I checked the version of the validation plugin
> > > and Firebug tells me it's beta 1.
> > >
> > > However, I downloaded the validation plug-in again and also jquery
> > > just to make sure.
> > >
> > > I added the id to the form.
> > >
> > > Still having no luck. :o(
> > >
> > > Any other ideas?
> > >
> > Yes. You've got a second element with the same ID as your form.
> >
> > Get Firebug and execute this on the console to see the element:
> > $("#Mortgage_Calculation_Form")
> >
> > You really need to test your selectors until you are absolutely sure
> > that you are selecting the right element before doing anything with the
> > element.
> >
> > --
> > Jörn Zaefferer
> >
> > http://bassistance.de
> >
> >
> > _______________________________________________
> > jQuery mailing list
> > [email protected]
> > http://jquery.com/discuss/
> >
> >
> >
> > _______________________________________________
> > jQuery mailing list
> > [email protected]
> > http://jquery.com/discuss/
> >
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/