hey, i want to make a function in javascript that will update the window status in netscape. now, i want to call it like this:
onmouseover="set('New Status');"
or something like that, then another that resets it, back to '':
onmouseout="reset();"
now, i have the reset func working fine and dandy, but i cant get the set func to work right. here is the function, i know it is probably some stupid mistake, but any help would be great:
function set(text) { window.status=text; return true; }
pretty new to javascript, so don't laugh too hard! haha
onmouseover="set('New Status');"
or something like that, then another that resets it, back to '':
onmouseout="reset();"
now, i have the reset func working fine and dandy, but i cant get the set func to work right. here is the function, i know it is probably some stupid mistake, but any help would be great:
function set(text) { window.status=text; return true; }
pretty new to javascript, so don't laugh too hard! haha