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=.


Reply via email to