Link slider and text input
Description
The following code shows how to link slider and text input.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.7.1.js'></script>
<link rel="stylesheet"
href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
</head><!-- w w w . j a va 2 s.c om-->
<body>
<div data-role="page">
<div data-role="content">
<label for="slider">Input slider:</label>
<input type="range" name="slider" id="slider_0" value="25" min="0" max="100" step="5" />
</div>
</body>
</html>