Hey ChellamNaidu, This list is about developing the jQuery library itself, not about using it: you could ask over on the http://groups.google.com/group/jquery-en list - but, your question is about using JavaScript files in Master Pages and Content blocks - which is a .NET issue. You'd probably have the best luck asking on .NET mailing list.
If I were to guess, I'd say that both the content control and Master page load the javascript files (look in firebug or even in the rendered source) - you might need to load them with the ScriptManager and ScriptManagerProxy. But like I said, probably better to ask the .NET guys! Earle On Nov 13, 3:24 pm, Naidu <chellamna...@gmail.com> wrote: > Hi, > > We are trying to use the jQuery in both master page and Content page, > but it is not working. It is working fine if we use it either in > Master Page or Content Page,but not in both. > My code is > > Master Page Code > ================= > <head runat="server"> > <title>Untitled Page</title> > <SCRIPT type="text/javascript" src="scripts/ui/jquery.js"></SCRIPT> > <SCRIPT type="text/javascript" src="scripts/ui/jquery.layout.js"></ > SCRIPT> > </head> > <body> > <form id="form1" runat="server"> > <DIV class="ui-layout-center"> > <asp:contentplaceholder id="ContentPlaceHolder1" > runat="server"> > </asp:contentplaceholder> > <P>Center</P> > </DIV> > <DIV class="ui-layout-north">North</DIV> > <DIV class="ui-layout-south">South</DIV> > <DIV class="ui-layout-east">East</DIV> > <DIV class="ui-layout-west">West</DIV>--%> > </form> > </body> > > Content Page Code > ============== > <asp:Content id="ContentBody" > ContentPlaceHolderID="ContentPlaceHolder1" runat="server"><SCRIPT > type="text/javascript"> > $(document).ready(function () { > $('body').layout({ applyDefaultStyles: true }); > > }); > > </SCRIPT> > <DIV class="ui-layout-center">Center > </DIV> > <DIV class="ui-layout-north">North</DIV> > <DIV class="ui-layout-south">South</DIV> > <DIV class="ui-layout-east">East</DIV> > <DIV class="ui-layout-west">West</DIV> > </asp:Content> > can u provide any samples which implemented jQuery in both master > page > and content page? > Please correct us where we are going wrong... > > Thanks in Advance > ChellamNaidu -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=.