[jQuery] Re: IE8 Selector Bug?

2009-08-13 Thread Liam Potter


If you are using 1.2.6 you need to use the @ symbol

$('#Row_1 inp...@type=text]').each(function() {
   $(this).val('');
});



gentry wrote:

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('');
 });
  




[jQuery] Re: IE8 Selector Bug?

2009-08-13 Thread Liam Potter


ignore that

Liam Potter wrote:

If you are using 1.2.6 you need to use the @ symbol

$('#Row_1 inp...@type=text]').each(function() {
   $(this).val('');
});



gentry wrote:

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('');
 });
  






[jQuery] Re: IE8 Selector Bug?

2009-08-12 Thread Jeffrey Kretz

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('');
 });



[jQuery] Re: IE8 Selector Bug?

2009-08-12 Thread amuhlou

Not confirming or disconfirming that it is a bug, but using the attr()
method worked for me

$('#Row_1 input[type=text]').each(function() {
$(this).attr('value','');
 });

On Aug 12, 1:25 pm, gentry gent...@gmail.com wrote:
 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('');
  });


[jQuery] Re: IE8 Selector Bug?

2009-08-12 Thread John Resig
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.comwrote:


 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('');
  });




[jQuery] Re: IE8 Selector Bug?

2009-08-12 Thread gentry

I got it to work by changing to this:

$('#Row_1tdinput[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.comwrote:



  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('');
   });


[jQuery] Re: IE8 Selector Bug?

2009-08-12 Thread John Resig
gentry -

Yes please!

--John


On Wed, Aug 12, 2009 at 5:15 PM, gentry gent...@gmail.com wrote:


 I got it to work by changing to this:

 $('#Row_1tdinput[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('');
});



[jQuery] Re: IE8 Selector Bug?

2009-08-12 Thread gentry

I must have something screwy with my page (it has a lot going on), as
I'm unable to reproduce this on a test page. I'll dig some more and
see if I can figure what's causing the issue before filing a bug
report.

On Aug 12, 2:28 pm, John Resig jere...@gmail.com wrote:
 gentry -

 Yes please!

 --John

 On Wed, Aug 12, 2009 at 5:15 PM, gentry gent...@gmail.com wrote:

  I got it to work by changing to this:

  $('#Row_1tdinput[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('');
 });