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>
    
     
  • 相关阅读:
    撒谎
    可怜的猪
    GIS学习笔记(五)
    国产木马冰河2.2
    矛盾
    GIS学习笔记(六)
    男人如衣服
    VS2005快捷键大全
    慧悟
    DOS命令
  • 原文地址:https://www.cnblogs.com/wphl-27/p/5706924.html
Copyright © 2011-2022 走看看