我有一個文本框的頁面timepicker,我想用它來在這個頁面中的更多文本框?如何使用jquery進行更多控制?
<head>
<script type="text/javascript">
$(document).ready(function() {
$('#example8', '#TextBox1').timepicker({
ampm: true
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<input type="text" name="example8" id="example8" value="" />
</div>
</form>
</body>
使用class而不是id – 2011-05-26 17:43:43