Hi I have to use noConflict method in my project. But I have a problem about this.
İf I dont use this method, project is working correctly.
But if I use this method, I have a error. How can I solve this problem.
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type='text/javascript' src="javascripts/jquery.min.js"></script>
<script type="text/javascript">
$.noConflict(); // İf I dont use this method, project is working correctly.
// But if I use this method, I have a error
</script>
<script language="javascript" type="text/javascript">
function goster() {
alert($("#TextBox1").val());
}
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:TextBox ID="TextBox1" onBlur="goster();" runat="server"></asp:TextBox>
</form>
</body>
</html>
If you use
$.noConflict();then you should usejQueryinstead of$.see demo. http://jsfiddle.net/UnUgP/3/