This question is locked. New answers and comments are not allowed.
I am New in MVC,working on MVC2.I made up four or five pages.I have a page named ItemPurchase.aspx which has the following script tag..
<script src="<%=ResolveUrl("~/Scripts/jquery-1.4.1.js")%>" type="text/javascript"></script>
<script src="<%=ResolveUrl("~/Scripts/jquery-1.4.1.min.js")%>" type="text/javascript"></script>
<script src="<%=ResolveUrl("~/Scripts/jquery-ui-1.8.11.custom.min.js")%>" type="text/javascript"></script>
<script src="<%=ResolveUrl("~/Scripts/jquery.validate.min.js")%>" type="text/javascript"></script>
<script src="<%=ResolveUrl("~/Scripts/Purchase.js")%>" type="text/javascript"></script>
In the Purchase.js ,Jquery UI like calender,Jquery Validation has been added.Purchase.js is working properly.
The pages are working properly.But today when i add Telerik api i get the problem.Purchase.js and other .js files are not working
properly.when i add the following line in master page the pages are are not working.The line is
<%= Html.Telerik().ScriptRegistrar()%>
</body>
Error.-$("#accordion").accordion is not a function.
what is the problem?it cannot recognize Jquery $("#accordion").accordion() function.
i want to use both Telerik control and want to keep existing jQuery functionality.Please help me
<script src="<%=ResolveUrl("~/Scripts/jquery-1.4.1.js")%>" type="text/javascript"></script>
<script src="<%=ResolveUrl("~/Scripts/jquery-1.4.1.min.js")%>" type="text/javascript"></script>
<script src="<%=ResolveUrl("~/Scripts/jquery-ui-1.8.11.custom.min.js")%>" type="text/javascript"></script>
<script src="<%=ResolveUrl("~/Scripts/jquery.validate.min.js")%>" type="text/javascript"></script>
<script src="<%=ResolveUrl("~/Scripts/Purchase.js")%>" type="text/javascript"></script>
In the Purchase.js ,Jquery UI like calender,Jquery Validation has been added.Purchase.js is working properly.
The pages are working properly.But today when i add Telerik api i get the problem.Purchase.js and other .js files are not working
properly.when i add the following line in master page the pages are are not working.The line is
<%= Html.Telerik().ScriptRegistrar()%>
</body>
Error.-$("#accordion").accordion is not a function.
what is the problem?it cannot recognize Jquery $("#accordion").accordion() function.
i want to use both Telerik control and want to keep existing jQuery functionality.Please help me