Hello I am new to mobiscroll Demos, and I am trying to figure out how they work. For practice I was just trying to get one of their timepicker to work, but I am having some issues. I would appreciate if someone can point out the problem to me in the code.
<html>
<head>
<script src="jqmobi.js"></script>
<script text/javascript>
$(function(){
$('#i').scroller({
preset: 'time',
theme: 'ios',
display: 'bottom',
mode: 'scroller'
});
$('#show').click(function(){
$('#i').scroller('show');
return false;
});
$('#clear').click(function () {
$('#i').val('');
return false;
});
});
</script>
</head>
<body>
<input id="i" name="i" />
<a href="#" id="show" class="btn">Show</a>
<a href="#" id="clear" class="btn">Clear</a>
</body>