Bug Tracker

Opened 11 years ago

Closed 11 years ago

#3216 closed bug (invalid)

[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();

Change History (4)

comment:1 Changed 11 years ago by codinghorror

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

comment:2 Changed 11 years ago by joern

Owner: set to joern

Can you provide a simple testpage?

comment:3 Changed 11 years ago by flesler

Component: coreplugin

comment:4 Changed 11 years ago by joern

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.