母版页添加jquery引用

VS2005母版页里面是不能添加JQUERY库的。要在引用母版页的页面里添加

代码
   
     
<% @ Page Language = " C# " MasterPageFile = " ~/MasterPage.master " AutoEventWireup = " true " CodeFile = " index.aspx.cs " Inherits = " index " Title = " Untitled Page " %>
< asp:Content ID = " Content1 " ContentPlaceHolderID = " ContentPlaceHolder1 " Runat = " Server " >
< script type = " text/javascript " src = " js/jquery.js " ></ script >
< script type = " text/javascript " src = " js/logion.js " ></ script >
< div id = " titleTop " >> ABOUT US </ div >
< div id = " main " >
< ul >
< asp:Repeater ID = " rptdata " runat = " server " >
< ItemTemplate >
< li >
< div >
< img src = " <%#Eval( " imgUrl " ) %> " width = " 280px " height = " 180px " alt = "" />
</ div >
< div id = " main_content " class = " <%# (Container.ItemIndex)==4? " class3 " : " class4 " %> " >
< a href = " newsDisplay.aspx?id=<%#Eval( " ID " ) %> " >
< div style = " margin-top:10px; font-size:12px; " >
< span style = " color:#9D7E4E; font-size:16px; " >><% #Eval( " title " ) %></ span >< br />
<% #getContent(Eval( " content " ).ToString()) %>
</ div >
</ a >
</ div >
</ li >
</ ItemTemplate >
</ asp:Repeater >
</ ul >
</ div >
< div style = " height:20px; width:600px; " >

</ div >
</ asp:Content >

 

你可能感兴趣的:(jquery)