Menu
Is there a way i can add my own property to an HTML tag.
for example. I would like a toolTip property (not title)
so i tried something like so
[code]
<html>
<head>
<title>Untitled Document</title>
<script>
function ToolTip(element)
{
alert(element.toolTip);
}
</script>
</head>
<body>
<div id=”test” [B]toolTip=”This is a test of my tool tip;”[/B] onclick=”ToolTip(this); return false;”>Click here </div>
</body>
</html>
This works great in IE 7 , but not Fire Fox.
Does anyone know if i can create a property in FireFox ?
Drew