Hi all,
I have a table, and in one of the cells of each row I want an iFrame. This table is generated via asp code on the server, and the iframe's contents will be another table--like a sub-table I guess.
So then on certain events via javascript I'll reset the src of the iframe, changing the contents--the src will begin it's life blank, because I want to pre-generate the iframe's table contents.
So the problem is, on the original generation, I don't have an actual 'file' to set in the src tag--but I do have the actual html table code. I've tried just generating the html between the <iframe> and </iframe> tags, but that doesn't seem to work.
Is there a correct way to 'pre-generate' an iFrame's contents, or must i always use the src tag? BTW, on a lark I tried to put the html table in the Src tag and that didn't work either,
Thanks,
--Jim
I have a table, and in one of the cells of each row I want an iFrame. This table is generated via asp code on the server, and the iframe's contents will be another table--like a sub-table I guess.
So then on certain events via javascript I'll reset the src of the iframe, changing the contents--the src will begin it's life blank, because I want to pre-generate the iframe's table contents.
So the problem is, on the original generation, I don't have an actual 'file' to set in the src tag--but I do have the actual html table code. I've tried just generating the html between the <iframe> and </iframe> tags, but that doesn't seem to work.
Is there a correct way to 'pre-generate' an iFrame's contents, or must i always use the src tag? BTW, on a lark I tried to put the html table in the Src tag and that didn't work either,
Thanks,
--Jim