I got it to work by changing to this: $('#Row_1>td>input[type=text]').each(function() { $(this).val(''); });
John - Still want a bug filed for this? Thanks, Shane On Aug 12, 11:50 am, John Resig <jere...@gmail.com> wrote: > It looks similar to the one above, but different. I'll try and check in to > them both. > > gentry - can you file a bug for the issue you found, preferably with a full > test case? > > --John > > On Wed, Aug 12, 2009 at 2:21 PM, Jeffrey Kretz <jeffkr...@hotmail.com>wrote: > > > > > My guess is its related to a problem I ran into with the Sizzle child > > selectors in 1.3.x > > > I opened a ticket about a month ago > > >http://dev.jquery.com/ticket/4917 > > > But it hasn't been reviewed yet. > > > JK > > > -----Original Message----- > > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > > Behalf Of gentry > > Sent: Wednesday, August 12, 2009 10:26 AM > > To: jQuery (English) > > Subject: [jQuery] IE8 Selector Bug? > > > Anybody know why this doesn't work in IE8 with jQuery version 1.2.6? > > It works in the latest jQuery version but I can't move to it yet > > because of some other issues. I'm trying to clear all the textboxes in > > a table row but only the 1st textbox gets cleared in IE8. > > > $('#Row_1 input[type=text]').each(function() { > > $(this).val(''); > > });