I wasn't using the var keyword to declare some of my variables including p in the code above so apparently while Firefox can handle that IE cannot. And that was it! I just had to put var before all new variables.
On Jan 15, 4:43 pm, Balázs Suhajda <suhaj...@gmail.com> wrote: > Did you check if it returns something? I don't have ie here to test, > but I think that error happens when one part of the chain returns > nothing (useful) and the next step doesn't handle that. > > Hope that gives you something to go by and please tell what you find out! > > > > On Sat, Jan 16, 2010 at 1:35 AM, Dr Funkenstein <asa...@shaw.ca> wrote: > > p = $(this).parent().parent().find("td").text().substring(0, 7); > > > This is the first line in the body of an onclick event handler. > > Anybody knows why this line breaks in IE but not in Firefox? The error > > I'm getting is "Object doesn't support this property or method". > > > Thanks. > > > -- > > You received this message because you are subscribed to the Google Groups > > "jQuery UI" group. > > To post to this group, send email to jquery...@googlegroups.com. > > To unsubscribe from this group, send email to > > jquery-ui+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/jquery-ui?hl=en. > > -- > Best regards, > Balázs Suhajda
-- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.