var popupcontent = myfunc(item.Id, i);
tablepopup = document.createElement("table");
tablepopup.innerHTML = popupcontent;
highSlide.appendChild(tablepopup);
tdAnkunft.appendChild(kirmiziOkLink);
tdAnkunft.appendChild(highSlide);
tableRow.appendChild(tdAnkunft);
Hi, myfunc returns an html table code like "table../table" but i am getting an error :"htmlfile: Unknown runtime error" is there any alternative way to parse my string data "popupcontent" into tablepopup ?
a sample html code returns from myfunc is
<table width="100%" border="0" cellspacing="1" cellpadding="2">
<tr bgcolor="#FFFFFF" class="table_header" style="cursor: pointer;" onmouseover="this.bgColor='#EEEEEE';"
onmouseout="this.bgColor='#FFFFFF';">
<td bgcolor="#E4E4E4">
Flug.
</td>
<td bgcolor="#E4E4E4">
Flug Nr.
</td>
<td bgcolor="#E4E4E4">
Flughafen Abflug
</td>
<td bgcolor="#E4E4E4">
Datum
</td>
<td bgcolor="#E4E4E4">
Abflug
</td>
<td bgcolor="#E4E4E4">
Ankunft
</td>
<td bgcolor="#E4E4E4">
C
</td>
<td bgcolor="#E4E4E4">
S
</td>
<td bgcolor="#E4E4E4">
</td>
</tr>
<tr bgcolor="#FFFFFF" onmouseover="this.bgColor='#EEEEEE';" onmouseout="this.bgColor='#FFFFFF';"
style="cursor: pointer;">
<td bgcolor="#FFFFFF" class="table_content" align="center">
TK
</td>
<td class="table_content">
351
</td>
<td class="table_content">
Bremen - Frankfurt
</td>
<td class="table_content">
13.05.2010
</td>
<td class="table_content" align="center">
19:50
</td>
<td class="table_content" align="center">
20:50
</td>
<td class="table_content" align="center">
V
</td>
<td class="table_content" align="center">
9
</td>
<td class="table_content" align="center">
<img src="images/right.arrow.png" width="18" height="18" onclick="swapPlans('Bremen','349');">
</td>
</tr>
</table>