Skip to content

Instantly share code, notes, and snippets.

View yashasvi9199's full-sized avatar

Yash Haldiya yashasvi9199

View GitHub Profile
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<style>
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
@yashasvi9199
yashasvi9199 / remove_arrow.css
Created March 10, 2023 06:02
CSS to disable arrows from numberfield
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
@yashasvi9199
yashasvi9199 / Radio_validation.jsp
Created March 9, 2023 11:51
Radio buttons where every button have name& id as same
<html>
<head>
<title>Radio button selection</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</head>
<body>
<input type="radio" name="myrd" id="myrd" value="phone">Phone
<input type="radio" name="myrd" id="myrd" value="email">Email
@yashasvi9199
yashasvi9199 / date_Reverse.jsp
Created March 9, 2023 10:06
Reverse Date with string in beginning, middle, end
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</head>
<body>
<input type="date" id="fromDate">
<input type="date" id="toDate">
@yashasvi9199
yashasvi9199 / index.jsp
Created March 9, 2023 08:26
Amount Validation
<!DOCTYPE html>
<html>
<head>
<title>Amount Validation</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<style>
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,