Tag Archives: Moss Publishing

Haraka Tip: Kuongeza jQuery kwa Moss Makala Publishing

Wakati kuimarisha Moss kurasa publising kutumia jQuery, I hit zifuatazo kasi mapema:

Server Error in ‘/’ Maombi.


Parser Hitilafu

Description: Hitilafu imetokea wakati parsing ya rasilimali zinazohitajika kwa huduma ya ombi hili. Tafadhali hakiki zifuatazo maalum maelezo kosa Hazrat na kurekebisha chanzo yako faili ipasavyo.

Parser Hitilafu Ujumbe: Udhibiti Content tu wanaruhusiwa moja kwa moja katika ukurasa maudhui ambayo ina udhibiti Content.

Chanzo Hitilafu:

 
Line 10: 
Line 11: 
Line 12: <script 
Line 13:     type="text/javascript" 
Line 14:     src="/jQuery/jquery-1.4.min.js"> 

Chanzo Picha: /_catalogs / masterpage / KCC_FacultyMember.aspx    Line: 12


Toleo Habari: Microsoft NET. Mkakati Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

Ilikuwa rahisi kutosha kurekebisha (h / t mwenzangu, Uday Ethirajulu).  Kuwa na uhakika kwamba kanuni jQuery anaishi ndani "PlaceHolderAdditionalPageHead" kama inavyoonekana:

<ASP:Content ContentPlaceholderID="PlaceHolderAdditionalPageHead" runat="server">

<script

    type="text/javascript"

    src="/jQuery/jquery-1.4.min.js">

</script>

<script type="text/javascript">

  $(hati).tayari(kazi() {

   // Kipaji jQuery mambo huenda hapa.

   });

</script>

</mwisho>

Kujiunga na blog yangu.

Kufuata yangu juu ya Twitter kwa http://www.twitter.com/pagalvin