PDA

View Full Version : Accessing elements created with INNERHTML


wayne-o
11-05-2002, 01:07 AM
Hi Everyone,

I'm having a little problem here. I have a table which is inserted into a <div> tag dynamically using innerhtml. This happens on page load. The table has it's own ID. It seems I'm not able to access the properties of the table via the ID - maybe because it was created using innerhtml?

So to summarize my question, once you have inserted code with innerhtml, can you further make style changes, etc, to the new html which was inserted as if it was there when the page first loaded?

thanks in advance,

wayne

glenngv
11-05-2002, 01:53 AM
you can access elements created with innerHTML.
could you post your code?

wayne-o
11-05-2002, 04:45 PM
I respectfully retract my question :)

I got it working. It was a mis-naming issue. Thanks anyway!

kevinmitnick
05-17-2005, 05:37 AM
Have you already tried it on Firefox, does it work

tanmoy28
05-17-2005, 06:09 AM
Can you send the code ? :)