Hi I have to use the noConflict method in my project but I have a problem about this. Do not use this method for one ° F, the project is working correctly but if I use this method, then I have an error. How do I solve this problem.
& lt; Html xmlns = "http://www.w3.org/1999/xhtml" & gt; & Lt; Head runat = "server" & gt; & Lt; Title & gt; & Lt; / Title & gt; & Lt; Script type = 'text / javascript' src = "javascript / jquery.min.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; $ .noConflict (); // Ä ° I do not use this method, the project is working correctly // But if I use this method then I have an error & lt; / Script & gt; & Lt; Script language = "javascript" type = "text / javascript" & gt; Function Göster () {Warning ($ ("# text box 1"). Val ()); } & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Form id = "form1" runat = "server" & gt; & Lt; ASP: Textbox ID = "Textbox 1" onBlur = "goster ();" Runat = "server" & gt; & Lt; / ASP: text box & gt; & Lt; / Form & gt; & Lt; / Body & gt; & Lt; / Html & gt;
If you $ NoConflict (); you should use $ instead of jQuery .
& lt; Script language = "javascript" type = "text / javascript" & gt; Function Göster () {Warning (jQuery ("# text box 1"). Val ()); } & Lt; / Script & gt; View the demo
Comments
Post a Comment