Hey guys, I'm new to javascript, so this is pretty easy. I'm trying to write a java script to change an image button so that onmouseover it will send back the string "a", and onmouseout it will send back the string "b" to my javascript function. If the string is "a", then I want it to load the highlighted image button, if it is string "b", then I want it to load the normal picture button. I know how to write most of it, but I just don't know how to load the picture into the table cell because I don't know how to reference the table cell. Here's my code:
<script language="javascript">
function highlight(img){
if(img = "a") {
}
}
</script>
thanx
<script language="javascript">
function highlight(img){
if(img = "a") {
}
}
</script>
thanx