Bug Tracker

Ticket #3216 (closed bug: invalid)

Opened 5 months ago

Last modified 3 months ago

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

Reported by: codinghorror Assigned to: joern
Type: bug Priority: major
Milestone: 1.3 Component: plugin
Version: 1.2.6 Keywords:
Cc: Needs: Review

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

Change History

Changed 5 months ago by codinghorror

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

Changed 5 months ago by joern

  • owner set to joern

Can you provide a simple testpage?

Changed 5 months ago by flesler

  • component changed from core to plugin

Changed 3 months ago by joern

  • status changed from new to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.