<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000066">
where it stands now, tables have no id's however if i put the variable
I'm taking from a td and write it as "country_name" + this.id +i it
produces the variable name (not value) with index and tables get
id's country_name1, country_name2, etc
if i remove brackets from country name I get undefined1, undefined2 etc
for the ID's
the this.id is working fine, problem is getting my text out of the td
to work , the index is working fine
mkmanning wrote:
<blockquote
id="mid_8b68115f-3010-4718-8475-8bde2aea091b_l33g2000pri_googlegroups_com"
cite="mid:
8b68115f-3010-4718-8475-8bde2aea091b@l33g2000pri.googlegroups.com"
type="cite">
<pre wrap="">If I read you right, you're trying to assign an ID to the table and it
doesn't already have one? If that's the case, you reference the
table's id in:
this.id = country_name +this.id + i;
so unless the table already has an id, the second this.id will be
undefined.