.net - I have a jquery problem when using $.noConflict in master page -


I saw it in a single page. I worked. But Master try this page (Datnet) therefore, no works can tell u what about this issue

============== aaaaaaaaaaaaaaaa. Master page

 . & Lt;% @ Master Language = "C #" AutoEventWireup = "true" CodeFile = "aaaaaaaaaaaaaaaa.master.cs" Inherits = "aaaaaaaaaaaaaaaa"% & gt; & Lt ;; DOCTYPE HTML PUBLIC "- // W3C // DTT XHTML 1.0 Transcription // N" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> & 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 language = "javascript" type = "text / javascript" & gt; $ .noConflict (); & Lt; / Script & gt; & Lt; Asp: ContentPlaceHolder id = "head" runat = "server" & gt; & Lt; / ASP: ContentPlaceHolder & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Form id = "form1" runat = "server" & gt; & Lt; Asp: ContentPlaceHolder id = "ContentPlaceHolder1" runat = "server" & gt; & Lt; / ASP: ContentPlaceHolder & gt; & Lt; / Form & gt; & Lt; / Body & gt; & Lt; / Html & gt;   

============== bbbbbbbbbbbbbbbbbbbbbb.aspx page

  & lt;% @ Page Title = "" Language = "C #" MasterPageFile = "~ / aaaaaaaaaaaaaaaa.master" AutoEventWireup = "true" CodeFile = "bbbbbbbbbbbbbbbbbbbbbb.aspx.cs" Inherits = "bbbbbbbbbbbbbbbbbbbbbb"% & gt; & Lt; Asp: Content ID = "Content1" content placeholder id = "head" runat = "server" & gt; & Lt; Script language = "javascript" type = "text / javascript" & gt; Function Göster () {Warning (jQuery ("# ​​text box 1"). Val ()); } & Lt; / Script & gt; & Lt; / ASP: Content & gt; & Lt; Asp: Content ID = "Content2" ContentPlaceHolderID = "ContentPlaceHolder1" runat = "server" & gt; & Lt; ASP: Textbox ID = "Textbox 1" onBlur = "goster ();" Runat = "server" & gt; & Lt; / ASP: text box & gt; & Lt; / ASP: Content & gt;    

Thanks for @Mahesh. The answer to this problem is;

bbbbbbbbbbbbbbbbbbbbbb.aspxPage functionGooster () {warning (jQuery ("#content placeholder1_TextBox1") .val ()); }

Comments