I thought to do it perhaps this way:
-First read the header (columns). Thererfor, I have to provide
something like div id=%uid%/div in it so that jQuery can read
out how many names there are and save their uids in an array
-Secondly: Go throught each tr and prove wether the first td
contains a
I tried it myself but I have probs with some things. Look at the code,
I commented it:
http://nopaste.php-quake.net/26562
E.g. I don't know how to combine $(this) in the each function with
another selector.
$(this + ' img').attr('alt') didn't work to get the content of the
'alt' attribute
On Thu, Apr 24, 2008 at 3:31 AM, KnoxBaby [EMAIL PROTECTED] wrote:
E.g. I don't know how to combine $(this) in the each function with
another selector.
$(this + ' img').attr('alt') didn't work to get the content of the
'alt' attribute (which serves to be the UID)... Same with the tid ...
ah ok cool, thanks so far. I'm gonna try this out! If anybody has more
tipps on how to achieve my goal, just reply :) Thanks a lot!!!
On 24 Apr., 10:38, Aaron Heimlich [EMAIL PROTECTED] wrote:
On Thu, Apr 24, 2008 at 3:31 AM, KnoxBaby [EMAIL PROTECTED] wrote:
E.g. I don't know how to combine
If i use
uid = jQuery(' img', this).attr(alt);
no more code after this line is being executed :(
E.g.:
[code]
$('table tr:eq(0) td:gt(0)').each(function(i) {
// If it's a col that contains an img (than the td has the
class
'imgg')
if($(this).is('.imgg'))
Argh, 'alt' not alt :)
On 24 Apr., 16:32, KnoxBaby [EMAIL PROTECTED] wrote:
If i use
uid = jQuery(' img', this).attr(alt);
no more code after this line is being executed :(
E.g.:
[code]
$('table tr:eq(0) td:gt(0)').each(function(i) {
// If it's a col that contains an
for precisely.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of KnoxBaby
Sent: Thursday, April 24, 2008 9:33 AM
To: jQuery (English)
Subject: [jQuery] Re: jQuery to create dynamic HTML-Content in a table
If i use
uid = jQuery(' img', this).attr(alt
24, 2008 9:33 AM
To: jQuery (English)
Subject: [jQuery] Re: jQuery to create dynamic HTML-Content in a table
If i use
uid = jQuery(' img', this).attr(alt);
no more code after this line is being executed :(
E.g.:
[code]
$('table tr:eq(0) td:gt(0)').each(function(i
Ah...thought you were just correcting your post.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of KnoxBaby
Sent: Thursday, April 24, 2008 10:18 AM
To: jQuery (English)
Subject: [jQuery] Re: jQuery to create dynamic HTML-Content in a table
Like
9 matches
Mail list logo