---
title: "How do I get slider to go to specific position on tap on iPad. HTML Javascript"  
description: "How do I get slider to go to specific position on tap on iPad. HTML Javascript"  
author: "Anonymous User"  
published: 2013-06-04  
updated: 2013-06-05  
canonical: https://www.mindstick.com/forum/986/how-do-i-get-slider-to-go-to-specific-position-on-tap-on-ipad-html-javascript  
category: "iphone"  
tags: ["iphone"]  
reading_time: 1 minute  

---

# How do I get slider to go to specific position on tap on iPad. HTML Javascript

Hi [Expert](https://www.mindstick.com/articles/13120/an-expert-financial-advice-will-improve-your-finances),\
On [safari](https://www.mindstick.com/forum/453/font-weight-bold-property-not-support-in-ie-opera-safari-chrome) [desktop](https://answers.mindstick.com/qa/31257/what-is-desktop-os) the slider one can [click](https://www.mindstick.com/articles/12423/social-login-magento-2-one-click-to-register-social) with the mouse to go to specific position on the slider. For [instance](https://www.mindstick.com/forum/155658/testing-connection-to-cloud-sql-instance-with-a-mysql-client-from-vm-instance) you can click to go to the end. On the iPad you have to drag it the [round ball](https://answers.mindstick.com/qa/100692/what-sport-involves-a-round-ball-and-is-popular-in-europe-and-south-america) with your finger to move the position of the slider. I would like on an iPad to be able to tap to get it to a specific position like on the desktop.\
The code I'm using for the slider is\
**<[input](https://www.mindstick.com/forum/159209/how-can-i-read-convert-an-input-stream-into-a-string-in-java) id = "slider" type="[range](https://www.mindstick.com/articles/23243/complete-troubleshooting-tips-for-belkin-n300-range-extender-setup)" min="0" max="45" step="1" [value](https://www.mindstick.com/articles/23219/an-optimized-description-adds-value-to-experience-and-in-turn-effectively-guest-posting-packages)="0" OnChange = "Slider();">**\
I would like to [avoid](https://yourviews.mindstick.com/story/1518/tips-to-avoid-dengue-at-home) using jquery but if I have to I will use jquery.\
Thanks in advance.

## Replies

### Reply by AVADHESH PATEL

Hi Chintoo,\
I know you asked for something not JQuery, but you should see how well the slider works. Also to note, an input of type range is not compatible with IE9 and below.**\****Fiddle**

```
$("#slider ").slider({    min: 0,    max: 45,    step:1,    slide: function (event, ui) {        $("#amount").val(ui.value);    }});
```

**\**Thanks in advance.


---

Original Source: https://www.mindstick.com/forum/986/how-do-i-get-slider-to-go-to-specific-position-on-tap-on-ipad-html-javascript

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
