/common.js

a common javascript function list

Primary LanguageJavaScriptMIT LicenseMIT

common.js

a common javascript function list

#Functions

intval
floatval
isString
moneyFormat
isNumber
trim
empty
isset
isPhone
isEmail
isBankCard
isChinaName
isIdentityNumber
isMobile
numberCheck
reload
buildUrl
json_decode
json_encode
setLocalData
getLocalData
clearLocalData
md5
sha1
base64_encode
base64_decode
log
array_keys
array_values

#Use var a = md5('123456'); log(a)