Adriana
Adriana

Reputation: 51

Adding $ Symbol to Jquery Mobile Slider

How could I add the currency symbol to the input field in Jquery Mobile Slider? I don't want to have it in a label.

I'm using the jquery mobile slider http://jquerymobile.com/demos/1.2.0/docs/forms/slider

And the HTML code is:

<form>
 <div class="ui-slider">
  <input name="slider-s" id="slider-s" value="125000" min="0" max="1500000" data-highlight="true" type="range" data-icon="search">
 </div>
</form> 

Thanks!

Upvotes: 3

Views: 1094

Answers (1)

Shakti Patel
Shakti Patel

Reputation: 3862

can you please used this below code :

HTML CODE :

<div class="dollar">
    <input type="text" value="12" name="thresholdSelect" >
</div>

CSS :

.dollar:after {
    content: "$"
}

Demo

Upvotes: 1

Related Questions