I have some HTML stuff like this
<div id='divItemHolder'onMouseout='HideEditDiv()' onMouseover='ShowEditDiv()><div id='itemName'></div><div id='divEdit'></div></div>
and in my script
function ShowEditDiv() {
$("#itemName").removeClass().html("<a href=\"javascript:Edit()">Edit</a>").addClass("divEdit");
}
function HideEditDiv() {
$("#itemName").html(" ").addClass('divEdit');
}
My requirement is to show the Edit link when user place cursor over the entire master div (divItemHolder) and hide it when he moves out. This works fine.ITs showing the edit link.But When i place cursor over the edit link,its disappearing. Even my click function is not firing !
Can any one hlpe me to solve this ?