Skip to main content

Bug Tracker

Side navigation

#2216 closed bug (fixed)

Opened January 23, 2008 05:53AM UTC

Closed January 28, 2008 06:49PM UTC

[validate] javascript error : elem has no properties

Reported by: sluramod Owned by: joern
Priority: major Milestone: 1.2.3
Component: plugin Version: 1.2.2
Keywords: validate Cc:
Blocked by: Blocking:


I'm sorry, this is my first bug report related to jquery (one of its plugins, actually).

I get 'elem has no properties' error. I traced it back to line 647 in jquery-1.2.2.js) when I use validator plugin. I think lines 21 and 27 of jquery.validate-1.2.js cause this problem; sometimes this[0] is null. Also, function delegate(event) on line 234 (line 235, actually) is potential source of problems.


Attachments (0)
Change History (4)

Changed January 24, 2008 07:39PM UTC by joern comment:1

owner: → joern

Changed January 28, 2008 05:25PM UTC by joern comment:2

resolution: → worksforme
status: newclosed

Could you provide a testpage or at least some testcase? Or a description of the browser in use? Without that I have to assume the error is on your side, because I can't replicate any of the problems mentioned here.

Note that 1.2 needs the delegate plugin, provided in the download as lib/jquery.delegate.js.

Changed January 28, 2008 06:21PM UTC by joern comment:3

resolution: worksforme
status: closedreopened

Scott noted that at least one problem is caused by the lack of checking if this[0] is actually defined (a form is selected).

Gonna fix that.

Changed January 28, 2008 06:49PM UTC by joern comment:4

resolution: → fixed
status: reopenedclosed

Fixed in [4547].