zoukankan      html  css  js  c++  java
  • Umbraco Form需要引用些客户端dependencies (jquery)

    Preparing your frontend

    In order to work correctly Umbraco Forms needs some client dependencies, being jquery, jquery validate and jquery validate unobtrusive.

    Adding the scripts to your template

    Simply add those to your template these can be in the head or at the bottom of the page (if you add them to the bottom you'll need to perform an extra step).

    Easiest way to add the dependencies is to fetch them from a cdn (like http://www.asp.net/ajax/cdn). So simply add the following 3 scripts

    <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.1.min.js"></script>
    <script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/jquery.validate.min.js"></script>
    <script src="https://ajax.aspnetcdn.com/ajax/mvc/5.1/jquery.validate.unobtrusive.min.js"></script>
    
     
  • 相关阅读:
    C#关系运算符
    C#逻辑运算符
    C#位运算符
    C#赋值运算符
    C#条件运算符(?:)
    C#自增运算符(++)
    C#自减运算符
    C# sizeof运算符
    C# checked运算符
    最大值最小值
  • 原文地址:https://www.cnblogs.com/wphl-27/p/5706924.html
Copyright © 2011-2022 走看看