hi
rs.MoveFirst
while Not rs.EOF
%>
<tr>
<a href="#" onClick="td_display('org<%=i%>', <%=ttl%>)">
function td_display(td, num){
for (i=0;i<=num;i++){
temp=eval("org" + i);
if (temp==td){
tdinvisible=eval(td+".style");
tdinvisible.display=""
}else{
tdinvisible=eval(td+".style");
tdinvisible.display="none";
}
}
}
i did temp=eval("org" + i);,
temp="org" + i;,
temp=("org" + i);
but it still didn't work
so any method to do ?!
thanks a lot.....
rs.MoveFirst
while Not rs.EOF
%>
<tr>
<a href="#" onClick="td_display('org<%=i%>', <%=ttl%>)">
function td_display(td, num){
for (i=0;i<=num;i++){
temp=eval("org" + i);
if (temp==td){
tdinvisible=eval(td+".style");
tdinvisible.display=""
}else{
tdinvisible=eval(td+".style");
tdinvisible.display="none";
}
}
}
i did temp=eval("org" + i);,
temp="org" + i;,
temp=("org" + i);
but it still didn't work
so any method to do ?!
thanks a lot.....