Subject: DHTML modify a table
From: Jean-David <merdoq@xxxxxxxxx>
Date: Sat, 6 Aug 2005 02:01:08 -0700 (PDT)
|
Hi,
I m using tomcat 5.5
Is it possible to dynamicaly change the structure of a
table (number of rows, number of columns, content of
cells...) when the desired row(s) are created using
the xsl:call-template tag?
for example:
file 1:
<table>
<xsl:call-template name=t1/>
<xsl:call-template name=t2/>
</table>
template 1||2:
<tr>
<td>[...]</td>
</tr>
i tried wrappin the tag around <div id=...> and then
use the
document.getElementById('...').innerHTML||outerHTML
functions but it does not update the desired row.
Instead it displays the information on top of the
table.
But when i only wrap the <xsl:value-of> tag with the
div, the content i updated without problem.
Is there a way to get around that?
JD
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|