javascript functions doestnt work after using jquery
<p>I am using this jquery to have spell check on the textarea. Spell check works fine but after using jquery for spell check my other javascript functions are not working. Any idea why ? </p>

<pre><code>&lt;script type="text/javascript"&gt;
    $Spelling.SpellCheckAsYouType('txt_comment1');
    function showselected() {
        var input1 = document.getElementById('txt_comment1');
        var startPos = input1.selectionStart;
        var endPos = input1.selectionEnd;
        var doc = document.selection;

        if (doc &amp;&amp; doc.createRange().text.length != 0) {
            alert(doc.createRange().text);
        } else if (!doc &amp;&amp; input1.value.substring(startPos, endPos).length != 0) {
            document.getElementById('txt_addwords').value = input1.value.substring(startPos, endPos);
            //alert(input1.value.substring(startPos, endPos))
        }
    }
&lt;/script&gt;

&lt;asp:Button 
    ID="cmd_submit_good" 
    runat="server" 
    Height="38px" 
    OnClientClick="showselected();" 
    onclick="cmd_submit_good_Click" 
    Text="Good Word" 
    Font-Bold="False" 
    Font-Names="Arial" Font-Size="X-Small" 
    Width="80px" /&gt;
</code></pre>
