This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> | |
</head> | |
<body> | |
<h3>Please enter a string !</h3> | |
</br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> | |
</head> | |
<body> | |
<button id="first">Click Me Once!</button> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> | |
</head> | |
<script> | |
$(document).ready(function() { | |
var input = []; | |
for (var i = 0; i < 2; i++) { | |
if (i == 0) input[i] = prompt("Please enter dividend Number"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> | |
</head> | |
<body> | |
<h3>Enter your Age</h3> | |
<input type="number" id="age" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> | |
</head> | |
<body> | |
<h3>Enter minutes</h3> | |
<input type="number" id="hell" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> | |
</head> | |
<body> | |
<h1>Please enter elements for the array</h1> | |
<br> | |
<input type="number" id="num" max="9" onchange="run()" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> | |
</head> | |
<body> | |
<form> | |
<input type="text" placeholder="Enter First Name" id="fname" readonly> | |
</br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> | |
</head> | |
<body> | |
<h2>Please Enter Input</h2> | |
<input type="text" placeholder="Enter input" onblur="trimmer(this.value)"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> | |
</head> | |
<body> | |
<h2>Please Enter Input</h2> | |
<input type="text" placeholder="Enter input" onkeypress="return restrict(this.value,event)"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function userValidation(val,event) { | |
var k = event ? event.which : window.event.keyCode; | |
var len = val.length; | |
if (len == 0 && k == 32){ | |
return false; | |
} | |
//Restrict spacial character | |
// 45 = hyphen (-), 46 = fulls top (.), 95 = underscore (_), 48-57 = 0-9, 65-90 = Uppercase alphabets 97-122 = Lowercase alphabets |
NewerOlder