Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

jquery input only integers

<input name="number" onkeyup="if (/D/g.test(this.value)) this.value = this.value.replace(/D/g,'')">
 Run code snippet
Comment

PREVIOUS NEXT
Code Example
Javascript :: js get random hex color 
Javascript :: add class jquery 
Javascript :: select2 find option by value 
Javascript :: activeclassname in react router v6 
Javascript :: trigger hover event javascript 
Javascript :: comment jsx code 
Javascript :: javascript string search second occurrence 
Javascript :: javascript create element with class 
Javascript :: laravel jquery csrf 
Javascript :: delete element 
Javascript :: knex like query 
Javascript :: for range python javascript 
Javascript :: react native copy to clipboard 
Javascript :: use ngfor to make a dropdown in angular from array 
Javascript :: string contains javascript 
Javascript :: javascript origin url 
Javascript :: puppeteer evaluate pass variable 
Javascript :: How do I redirect to another webpage 
Javascript :: capitalise first letter js 
Javascript :: react conditional styling 
Javascript :: set dropdown in jquery 
Javascript :: Write the JavaScript code to set the width of element to 50%; 
Javascript :: jqurey text contains selector 
Javascript :: three js render 
Javascript :: javascript read file lines into array vanilla 
Javascript :: how remove last letter js 
Javascript :: angular build aot vs jit 
Javascript :: arabic regex javascript 
Javascript :: jquery check if class exists 
Javascript :: iiee javascript 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =