Skip to content

Instantly share code, notes, and snippets.

View wezmag's full-sized avatar
👋
Looking for new opportunities

Wesley Huang wezmag

👋
Looking for new opportunities
  • HsinChu City, Taiwan
View GitHub Profile
@wezmag
wezmag / jquery.validate.unobtrusive.dynamic.js
Created March 11, 2017 12:55 — forked from joelpurra/jquery.validate.unobtrusive.dynamic.js
$.validator.unobtrusive.parseDynamicContent by XHalent, modified to keep a reference to the jQuery selector/context object
/// <reference path="../jquery-1.7.js" />
/// <reference path="../jquery.validate.js" />
/// <reference path="../jquery.validate.unobtrusive.js" />
// Originally by XHalent, @xhalent
// http://xhalent.wordpress.com/
// http://xhalent.wordpress.com/2011/01/24/applying-unobtrusive-validation-to-dynamic-content/
// Modified by Joel Purra
// http://joelpurra.com/
@wezmag
wezmag / WebFormsBootstrapValidation.aspx
Last active December 14, 2016 05:12 — forked from meziantou/WebFormsBootstrapValidation.aspx
ASP.NET WebForms Validators & Bootstrap
<%@ Page Language="C#" AutoEventWireup="true" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>ASP.NET WebForms Validators & Bootstrap</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css" />