onfocusout alternative?
<p>I have the following code:</p>

<pre><code>&lt;script type="text/javascript"&gt;

    function editLabel(source) {
        source.innerHTML = '&lt;input type="text" value="' + source.innerHTML + '"/&gt;';
        source.onclick = null;
        source.children[0].focus()
    }
    function setLabel(source) {

        if (source.children[0].value != '') {
            source.onclick = function () { editLabel(source); };
            source.innerHTML = source.children[0].value;
        }

    }
</code></pre>

<p>Then in my asp label:</p>

<pre><code> &lt;asp:Label ID="lblName" runat="server" onfocusout="setLabel(this);" onclick="editLabel(this);" Text='&lt;%# Bind("GroupDescription") %&gt;'&gt;&lt;/asp:Label&gt;
</code></pre>

<p>This works fine in Chrome and IE but does not work in Firefox.</p>

<p>This is because Firefox only supports onblur.</p>

<p>I have tried to add onblur to the label and textbox but it does not work.</p>

<p>What could I do?</p>

<p>Thanks</p>
