jQuery Mobile: Basic slider

This entry is part 68 of 73 in the series jQuery Mobile

It’s easy to add a slider using jQM.

<!DOCTYPE html>
    <link href='http://code.jquery.com/mobile/1.4.1/jquery.mobile-1.4.1.min.css' rel='stylesheet'/>
    <script src='http://code.jquery.com/jquery-1.10.2.min.js'></script>
    <script src='http://code.jquery.com/mobile/1.4.1/jquery.mobile-1.4.1.min.js'></script>
<div data-role='page'>
    <div data-role='header' data-theme='b'>

    <div data-role='content'>
            <label for='slider_id'>Slider:</label>
            <input type='range' name='slider1' id='slider_id' min='0' max='100' value='50'>

    <div data-role='footer' data-position='fixed'>
        <h4 style='text-align:center;'>I'm the footer</h4>

Try The Code
Series Navigation<< jQuery Mobile: Mini drop down menu
jQuery Mobile: Slider with hightlight >>