Skip to main content

Bug Tracker

Side navigation

#3216 closed bug (invalid)

Opened August 03, 2008 06:45PM UTC

Closed October 21, 2008 06:25PM UTC

[validate] error with .rules("add") in Opera 9.51

Reported by: codinghorror Owned by: joern
Priority: major Milestone: 1.3
Component: plugin Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:
Description

We only get this error on Opera; works OK on IE7 / FF3 / Safari31 (windows versions)

message: Statement on line 104: Cannot convert undefined or null to Object

Backtrace:

Line 104 of linked script http://localhost/content/js/jquery.validate.js

var staticRules = jQuery.data(element.form, 'validator').settings.rules;

Line 51 of inline#2 script in http://localhost/test: In function initValidation

$("#post-text").rules("add", { required: true, minlength: 5 });

Line 58 of inline#2 script in http://localhost/test

initValidation();

Attachments (0)
Change History (4)

Changed August 03, 2008 06:52PM UTC by codinghorror comment:1

we are using a textarea control -- not an input type="text"

Changed August 07, 2008 01:27PM UTC by joern comment:2

owner: → joern

Can you provide a simple testpage?

Changed August 08, 2008 03:59AM UTC by flesler comment:3

component: coreplugin

Changed October 21, 2008 06:25PM UTC by joern comment:4

resolution: → invalid
status: newclosed