Jquery is not working in Xsl
===

I have autocomplete function. I tested it on normal aspx page. But now i have to put it in xsl. I tried many ways but didnt work.
I also have javascripts in xsl and they are working.
I tried "<![CDATA[" ,"<xsl:comment>" and something like that.

Here is my code ;

    <script type="text/javascript">
                   $(document).ready(function () {
                  $("#Size").autocomplete("AutoCompleteData.ashx");
                  });
                  $(document).ready(function () {
                  $("#Color").autocomplete("AutoCompleteData2.ashx");
                  });
                  $(document).ready(function () {
                  $("#Brand").autocomplete("AutoCompleteData3.ashx");
                  });
                </script>

I put an alert before "$("#Size").autocomplete("AutoCompleteData.ashx");" this line and it worked.
And i checked my paths it was true.
I put an alert in begining of autocomplete.js and it didnt work.

    <input type="text" ID="Size" runat="server"/>
    <input type="text" ID="Color" runat="server"/>
    <input type="text" ID="Brand" runat="server"/>


