Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
<input id="spinner" name="value">
<input id="spinner1" name="value">

JavaScript
$("#spinner").spinner();
$("#spinner1").spinner();


This creates 2 inputs i want in one them in 1 textbox.

It should be like

11:25

If pointer is on 11 and i click up arrow of spinner it should increase only 11 to 12
and if pointer is on 25 it should increase 25 to 30 with +5 increment.

Note: I want both hours and minute with ':' seperator in 1 Textbox only.

What I have tried:

I have tried this

<input id="spinner" name="value">
<input id="spinner1" name="value">

JavaScript
$("#spinner").spinner();
$("#spinner1").spinner();


but this creates 2 textbox with spinner arrows i want in one with HOUR:Minute format
Posted
Updated 8-Nov-16 17:18pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900