Why? Because I am stilling learning how to do these queries, in other
words, I don't know what I am doing. =)
Good point regarding valid xhtml and a unique id.
-john
On Oct 15, 8:16 pm, RobG [EMAIL PROTECTED] wrote:
On Oct 16, 7:53 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I am
This worked. Thank you very much for your help.
-jl
On Oct 15, 4:10 pm, Alexandre Plennevaux [EMAIL PROTECTED]
wrote:
$('#myTable tr');
HTH
Alex
On Thu, Oct 16, 2008 at 12:59 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Here you go. I am looking for a general solution.
-jl
just a bit of explanation on what you tried and why it didn't work:
$('#myTable tr');
means select TR tags immediately () after the TABLE tag, whereas, as karl
rightly pointed out, for browsers, even though you wrote your html as table
tr, it really is table tbody tr
whereas
$('#myTable
On Oct 16, 5:49 pm, Alexandre Plennevaux [EMAIL PROTECTED]
wrote:
[...]
...No problem if there is a tbody
or not, the TR is in any case inside the table.
Just to be clear about this, an HTML table must *always* have a tbody
element, even if there are no tags for one in the markup[1]. A
Show a snip of HTML for the table would be of great help for others to
help you
On Oct 15, 5:53 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I am creating a series of tables and would like to be able to grab all
the rows inside of a particular table.
I tried $( table#myTable tr ) with no
: [jQuery] Re: JQuery to select rows inside a particular table
Show a snip of HTML for the table would be of great help for others to
help you
On Oct 15, 5:53 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I am creating a series of tables and would like to be able to grab all
the rows inside
Here you go. I am looking for a general solution.
-jl
table id=myTable
tr id=myTable_row_0
td/td
/tr
tr id=myTable_row_1
td/td
/tr
/table
On Oct 15, 3:32 pm, MorningZ [EMAIL PROTECTED] wrote:
Show a snip of HTML for the table would be of great help for others to
help you
On Oct 15, 5:53
$('#myTable tr');
HTH
Alex
On Thu, Oct 16, 2008 at 12:59 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Here you go. I am looking for a general solution.
-jl
table id=myTable
tr id=myTable_row_0
td/td
/tr
tr id=myTable_row_1
td/td
/tr
/table
On Oct 15, 3:32 pm, MorningZ [EMAIL
On Oct 16, 7:53 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I am creating a series of tables and would like to be able to grab all
the rows inside of a particular table.
I tried $( table#myTable tr ) with no avail. I am still new to
JQuery so please forgive me if I am missing something
On Oct 15, 2008, at 7:10 PM, Alexandre Plennevaux wrote:
$('#myTable tr');
HTH
Alex
That's right. And in case jl wonders why, it's because some browsers
treat the table as if it has a tbody element as a child of table,
even if it isn't explicitly put in there.
--Karl
10 matches
Mail list logo