miércoles, 17 de septiembre de 2014

Personalizando la ubicacion del validador

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
 <div id="myform">
     <input type="text" id="name" name="name" required>
     <span class="k-invalid-msg" data-for="name"></span>
 </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ScriptsContent" runat="server">
 <script>
     var data = [
                    "Gujarat",
                    "Delhi",
                    "MP",
                    "Maharastra"
     ];

     $("#name").kendoAutoComplete({
         dataSource: data,
         separator: ", "
     });
     $("#myform").kendoValidator();
 </script>
</asp:Content>

http://jsfiddle.net/burkeholland/vkzjn/embedded/result,js/
http://html-pattern.toancauxanh.vn/form-validation.html
http://www.ideatoworking.com/Blogs/ID/35/How-To-Create-Kendo-UI-Validator
https://groups.google.com/forum/#!topic/liftweb/vdV2ZbEyXhI

No hay comentarios:

Publicar un comentario