[jQuery] Unbind event

[jQuery] Unbind event

Hi,
I have a link with a click event that call a function like this :
function showDef(e)
{
    var lien_id = "#"+e.id;
        
    $(lien_id).mouseout(function(){
        $("#definition").toggle();
    });
        
    $("#definition").load("pages/action.php",{
        action: "getdefinition",
        id: e.id
    });
        
    $("#definition").toggle();
    return false;
}
Inside this function, I add a mouseout event to toggle the div when
the user go off the link.
My problem is I want to unbind the mouseout event once it has been
executed, but I can't find the good syntaxe.
Francis.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/