M
Michael
Hi,
why is it ok to have:
function home_mouseover(){
document.getElementById("hom").src = home_night.src;
}
<a href="./home.shtml" onmouseover="home_mouseover();">
but not ok (results in a syntax error) to have:
<a href="./home.shtml" onmouseover="document.getElementById("hom").src =
home_night.src;">
aren't these the same?
Thanks for your help.
Michael
why is it ok to have:
function home_mouseover(){
document.getElementById("hom").src = home_night.src;
}
<a href="./home.shtml" onmouseover="home_mouseover();">
but not ok (results in a syntax error) to have:
<a href="./home.shtml" onmouseover="document.getElementById("hom").src =
home_night.src;">
aren't these the same?
Thanks for your help.
Michael