Demo :
tạo 1 js : in all pages
nguồn :
Tags: #code #codefm
tạo 1 js : in all pages
Code:
$(function () {
"/register" == location.pathname && $("#username_reg").attr({
pattern: "^[^\\d\\.]([\\.\\w\\d]+){2,}",
title: "Name must be at least 3 characters and start with letter or underscore. Only allowed to use letters, numbers, punctuation and underscores"
})
});
nguồn :
Code:
www.kenhit.123.st
Tags: #code #codefm