posted 16 years ago
Hi Currently iam using the following code to create a tololtip message when we move the mouse over an icon.
function showHelp() {
document.getElementById("myImage").alt = 'Help';---Not working in firefox
// document.all.elementID.alt = 'Help'; --works only with IE
}
I will call the above function in mouseover event. but the code in the first line is not working in firefox. the code in the second line works only in IE 7?
My question is "document.getElementById("myImage").alt = 'Help'" is not supported in firefox.
IF it is not supported means , what is the equivalent in firefox?
please help me.
Thanks,
RAJ