http://1000hz.github.io/bootstrap-validator/#validator-usage Validated fields By default, the validator will only validate fields that are present when the plugin is initialized. If your form has a dynamic set of fields, you will need to call $(...).…
$("#card_num").keyup(function(){ var op=""; var t=$("#card_num").val().replace(/\D/g, ""); for (var i=0;i<t.length;i++){ if(i%4===0 && i>0) { op += " " + t.charAt(i); }else { op += t.charAt(i…
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Text.RegularExpressions; namespace Common { public class Validate { private static readonly Regex RegPhone = new Regex("(^(\\d{11})$|…