I figured out the problem. In IE, if you have not set a class, even an empty class would suffice (class=""), it will throw that error. I never saw this in the documentation, which I feel could use some work as is to be clearer. As such, I am not sure whether this is a known problem or coding problem.
On Sep 15, 5:53 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Please provide a testpage. > > Jörn > > On Mon, Sep 15, 2008 at 4:50 PM, GregWa <[EMAIL PROTECTED]> wrote: > > > In FF3 I am having no issues with the plugin, but in IE (only tested > > 7) I am running into the following problem. > > >http://i34.tinypic.com/2vnovic.png- Line:662, Error: 'undefined' is > > null or not an object. The offending piece of code goes over to jQuery > > 1.2.6 and this is where it errors. > > > data: function( elem, name, data ) { > > elem = elem == window ? > > windowData : > > elem; > > > var id = elem[ expando ]; > > > elem is what is undefined > > > Here is the code I'm using to execute the validation: > > > validator = $('#form1').validate(); > > var input = $('ul.MDProgramsList :input').eq(0); > > input.each(function() { $(this).rules('add', { required: > > true }); }); > > > valid = validator.form(); > > input.rules('remove'); > > > When I make elem = to windowData it then proceeds to another error. > > I'm not quite sure what is going on to cause this problem in IE. > >