What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-26 08:40:31
username validation
<html> <head> <title></title> </head> <body> <form method="post" action=""> username:<input type="text" id="name" onkeyup="validation()"> </form> &... Add solution -
Other 2021-11-21 04:42:12
how to change to input of a form dynamically
Chance: <input type="text" name="chance" value="" onkeyup="document.querySelector('input[name=payout]').value=this.value?1/this.value*98:''"> <br/><br/>Payout: <input type="text" n... Add solution -
Html 2021-11-08 07:22:11
html view all users in sql db
<html> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> * { box-sizing: border-box; } #myInput { background-image: url('/css/searchicon.png'); background-position: 10px 12px; bac... Add solution -
Javascript 2021-10-05 04:11:05
how to convert entered number into currency in words in javascript
var a = ['','one ','two ','three ','four ', 'five ','six ','seven ','eight ','nine ','ten ','eleven ','twelve ','thirteen ','fourteen ','fifteen ','sixteen ','seventeen ','eighteen ','nineteen ']; var b = ['', '', 'twenty','thirty','forty','fifty', 'sixty... Add solution -
Other 2021-09-29 13:39:02
Function that replaces character and allow only numbers into the textbox
This technique we can use on the onkeyup property of HTML element <input type="text" id="txtMobileNo" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')" Add solution -
Html 2021-09-24 05:15:02
html ecommerece search box
<div class="row"> <div class="left" style="background-color:transparent;"> <h3 style="text-align: center;">Plants</h3> <input type="text" id="mySearch" ... Add solution