Q:

jQuery is not working with ASP.NET

I created simple .aspx form and it looks like the next jQuery code is not working.   
  <script type="text/javascript">
     $(document).ready(function()
     {
       alert("test");
     });
  </script>

I don't know if it is because of Page_Load on the server-side or something else. 

A:

please check you pass jquery library in the head correctly. 
<head runat="server">
<script src="~/Scripts/jquery-1.10.2.min.js"></script>
</head>

Thanks

A:

you are getting '$' is undefined error.because for using jquery in your code you have to reference a jquery library file like below:
<script src="Scripts/jquery-1.10.2.min.js" type="text/javascript">
<script type="text/javascript">
    $(document).ready(function () {
        alert("test");
    });
</script>

