---
title: "一个验证身份证号是否有效的js小例子"
author: "dir_murong"
date: "2011-01-20T10:43:55Z"
tags: ["HTML"]
categories: ["Web前端"]
slug: "js"
draft: false
lastmod: "2011-01-20T10:44:33Z"
id: 889517
url: "https://dir-murong.iteye.com/blog/889517"
---

看到一个检验身份证号的小例子，觉得不错。 \[code="html"] 身份证号是否有效验证 请输入身份证号码: \[/code]