View Full Version : New to this. Menu table id help.

01-14-2009, 05:10 AM
I am tweaking a script and I have this menu I want to change around.

it had this code which called the id="city_stat"

<td id="city_stat" style="color: green; text-align: right;"></td></tr>');

"city_stat" was part of a function with a formula.

I tried to add more code into that table, but dont know how to call "city_stat." I tried

<td style="text-align: right;">'+my_code+'<font color=green> <id="city_stat"></td></tr>');

<td style="text-align: right;">'+my_code+'<font color=green> '+city_stat+'</td></tr>');

01-14-2009, 06:06 AM
The id will probably still need to be assigned to the td element. After all, from what you say, the script depends upon it. However, you really haven't given us much to go on. Please be more specific as to what code you want to add and how you are doing it, and what you want the result to be. Also, a link to your page would probably help too:

Please post a link to the page on your site that contains the problematic code so we can check it out.

And a link to the demo page (where you got the script) of the script would also help us to help you.