getting value of another tag
- by Hulk
In the below code onclick edit how can the value of tag test be obtained in the edit function.
<script>
function edit(a)
{
}
var a= <tr class="clickable"><td id="userval" BGCOLOR="#FF6699"><label id="test">' + a + '</lable> <IMG SRC="edit.gif" onclick="javascript:edit(test.value);" > ></td></tr>
</script>
Thanks.