Hi, how would I change this to an object that I can add onto a table?
And how would I add it to the table?
<tr>
<td>{var1}</td>
<td>{var2}</td>
<td>
<table>
<tr>
<td>Name: {name3}</td>
<td>Age: {age3}</td>
</tr>
</table>
</td>
</tr>
I was talking about it in this discussion but the topic got cold
somehow.
http://groups-beta.google.com/group/...8d4af98135fa07
Actually, this is the actual string, but the top one is easier to look
at.
<tr id='schedule_row{hoursId}' class='schedule_row'>
<td class='icon_schedule {dayType}' id='icons{hoursId}'><a
href='javascript:popUpWindow("editschedule.php?emp loyee={employeeUsername}×tamp={timestamp}&hou rsId={hoursId}",0,0,600,600);'><img
src='images/pen.gif' class='icon' style='height:10px;' /></a><a
href='javascript:deleteHoursRow("{hoursId}");'
style='text-decoration:none'>X</a></td>
<td class='name {dayType}' id='name{hoursId}'
onclick="makeCalendarInputField(this,'{hoursId}',' name');"
onkeyup="blurThis(this,event);">{name}</td><td class='time'
id='hours{hoursId}'>
<table border=0 id='start{hoursId}' onMouseOver='showControls(this);'
onMouseOut='hideControls(this);' class='{dayType}' cellspacing=0
cellpadding=0>
<tr>
<td valign='top' id='start0_{hoursId}' class='start0'
onclick='makeCalendarInputField(this,"{hoursId}"," start");'
onkeyup='blurThis(this,event);'>{start}</td>
<td>
<table id='start{hoursId}_controls' class='hoursControls'
cellspacing=0 cellpadding=0>
<tr>
<td><a href='javascript:void(0);'
onClick="ajaxChangeHour('1','{hoursId}','start');" ><img
src='images/up.gif' class='icon controlsIcon' /></a></td>
</tr>
<tr>
<td><a href='javascript:void(0);'
onClick="ajaxChangeHour('-1','{hoursId}','start');"><img
src='images/down.gif' class='icon controlsIcon' /></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td class='{dayType}'- </td>
<td>
<table id='end{hoursId}' onMouseOver='showControls(this);'
onMouseOut='hideControls(this);' class='{dayType}' cellspacing=0
cellpadding=0>
<tr>
<td valign='top' id='end0_{hoursId}' class='end0'
onclick='makeCalendarInputField(this,"{hoursId}"," end");'
onkeyup='blurThis(this,event);'>{end}</td>
<td>
<table id='end{hoursId}_controls' class='hoursControls'
cellspacing=0 cellpadding=0>
<tr>
<td><a href='javascript:void(0);'
onClick="ajaxChangeHour('1','{hoursId}','end');">< img
src='images/up.gif' class='icon controlsIcon' /></a></td>
</tr>
<tr>
<td><a href='javascript:void(0);'
onClick="ajaxChangeHour('-1','{hoursId}','end');"><img
src='images/down.gif' class='icon controlsIcon' /></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>