JavaScript Make a input only allow names and not numbers make input only accept numbers,make input only readable,make

I have this:

personname: function(value, element) {
    return this.optional(element) || /^[a-zA-Z\s]+$/.test(value);
}

But when the name is Pëter Müller or something like that it is invalid, how can I add all those possible characters within my code and what are those character codes?

Answer:1

I've been given the task of updating some Javascript for IE10. I've searched endlessly for a solution, but I just can't seem to find one. The piece of code I'm stuck at is: var svgns = "http://www.w3....

I've been given the task of updating some Javascript for IE10. I've searched endlessly for a solution, but I just can't seem to find one. The piece of code I'm stuck at is: var svgns = "http://www.w3....

  1. update with work
  2. update work in texas profile
  3. update work on facebook
  4. update work in progress
  5. update work permit with new passport
  6. update on work construction of signet by omkar
  7. update on work email

I am a new to nedb. Its a kinda what sqlite is for sql community but for the node.js community. [https://github.com/louischatriot/nedb] I wanted to ask is possible to have multiple collections in a ...

I am a new to nedb. Its a kinda what sqlite is for sql community but for the node.js community. [https://github.com/louischatriot/nedb] I wanted to ask is possible to have multiple collections in a ...

  1. nedb multiple collection

Actual Question: Does anyone have any basic example logic of how to pull the value of a DOM element in to a custom script data element? Background: I'm trying to build some custom data elements in ...

Actual Question: Does anyone have any basic example logic of how to pull the value of a DOM element in to a custom script data element? Background: I'm trying to build some custom data elements in ...

I am going to display plugin for firefox and google chrome. i know that all this plugins are developed using javascript and CSS but i donnot know how to display sidebar panel for example facebook chat ...

I am going to display plugin for firefox and google chrome. i know that all this plugins are developed using javascript and CSS but i donnot know how to display sidebar panel for example facebook chat ...

  1. display side panel pc case
  2. display side panel