How to make a horizontal slider?

I have to make a horizontal month slider which will have two pointers which will be used to select month intervals.Can this be done in sencha or i will have to use jquery.However if any one knows how to do that or have any links please answer........

Answers


HTML5:

Month: <input type="range" min="1" max="12">

or jQuery UI.

$("#slider").slider();
Month: <div id="slider"></div>

If you want the user to select a date, here's a more convenience way to do it:

$("#datepicker").datepicker();

Date: <input type="text" id="datepicker">

Need Your Help

Cannot connect to my aws ec2 instance

linux amazon-web-services ssh amazon-ec2 ssh-keys

I am facing "ssh_exchange_identification: read: Connection reset by peer" error. My previous session was abnormally closed. Now I am not able to connect to my instance.

How to crop the UIImage?

iphone uiimage

I develop an application in which i process the image using its pixels but in that image processing it takes a lot of time. Therefore i want to crop UIImage (Only middle part of image i.e. removing/