J
jodleren
Hi all
I want the user to be able to click on a row, and it should turn red
My code;
function toggle_row(x)
{
alert(x); // test
document.getElementById(x).style.bgcolor="red";
alert(x); // test
}
and the table:
qq=0
do while not rsJob.eof
%><tr id="tooling_<%=qq%>" onclick="toggle_row('tooling_<%=qq%>');">
<td><%=rsJob.fields(0).value%></td>
This does not work... any ideas why?
WBR
Sonnich
[29 mins left....]
I want the user to be able to click on a row, and it should turn red
My code;
function toggle_row(x)
{
alert(x); // test
document.getElementById(x).style.bgcolor="red";
alert(x); // test
}
and the table:
qq=0
do while not rsJob.eof
%><tr id="tooling_<%=qq%>" onclick="toggle_row('tooling_<%=qq%>');">
<td><%=rsJob.fields(0).value%></td>
This does not work... any ideas why?
WBR
Sonnich
[29 mins left....]