• Find
    Great Courses
  • Create
    a Course
  • About
  • Blog
  • Help
  • Login
  • Home
  • › Learn › JavaScript表单验证中文大写字母 javascript表单验证中文大写字母
course image draft course

Participate


JavaScript表单验证中文大写字母

// 检查是否为有效的真实姓名,只能含有中文或大写的英文字母
function isValidTrueName(strName){
      var str = Trim(strName);   //判断是否为全英文大写或全中文,可以包含空格
      var reg = /^[A-Z u4E00-u9FA5]+$/;
      if(reg.test(str)){
       return false;
      }
      return true;
}

Tags

  • javascript表单验证中文大写字母
View Full Description
  • Under Development
  • Kind
    Javascript表单验证中文大写字母
  • Signup
    Non-moderated signup
  • Chat
    #p2pu-979-javascript
  • Updates
    3
  • Organizers
    1
  • Participants
    0
  • Followers
    0
See All »

People


zhmm (organizer)

Tasks


No tasks have been added.

External Links


  • JavaScript表单验证中文大写字母
    zhmm
    zhmm at JavaScript表单验证中文大写字母
    started following JavaScript表单验证中文大写字母 javascript表单验证中文大写字母.
    23 Apr 2012 via courses.p2pu.org

P2PU Schools:
School of Social Innovation

SOCIAL INNOVATION

School of the Mathematical Future

MATHEMATICAL FUTURE

School of Webcraft

WEBCRAFT

School of Ed

SCHOOL OF EDUCATION

School of Open

SCHOOL OF OPEN

What is P2PU?

The Peer 2 Peer University is a grassroots open education project that organizes learning outside of institutional walls and gives learners recognition for their achievements. P2PU creates a model for lifelong learning alongside traditional formal higher education. Leveraging the internet and educational materials openly available online, P2PU enables high-quality low-cost education opportunities.

Connect With Us


  • FacebookF

  • TwitterT

  • Get Involved

  • Blog

  • Send us an email

Some of Our Supporters

William and Flora Hewlett Foundation Shuttleworth Foundation View all of our supporters

globe icon
  • English
  • Nederlands
  • 中文
  • Español
  • Svenska
  • עברית
  • 한국의
  • (more)
  • Help
  • About P2PU
  • Forum
  • Found a Bug?
  • Creative Commons
  • Share-Alike
  • Privacy Guidelines
  • Terms of Use
CC Icons