c# - How to call a function JQuery -
i'm beginner in jquery (i know nothing framework).
i found code display calendar or hours using jquery , cool.
how can use code?
follow link code i'm trying implement in system (with razor webmatrix)
it's matter of including necessary script , style references, wiring components. in particular case:
include jquery engine core script within
<head>
of page. use recent version available (currently, 1.5). script in sample page uses jquery 1.4.4:<script type="text/javascript" src="jquery-1.4.4.min.js"></script>
include jquery ui core script (same here version):
<script type="text/javascript" src="jquery-ui-1.8.6.custom.min.js"></script>
include plugin script(s):
<script type="text/javascript" src="jquery-ui-timepicker-addon.js"></script>
don't forget reference plugin ui elements styles:
<link rel="stylesheet" media="all" type="text/css" href="css/ui-lightness/jquery-ui-1.8.6.custom.css">
wire plugin text box element act calendar trigger. sample uses
<input type=text>
idexample1
:$('#example1').datetimepicker();
these general steps particular case! jquery offers more functionality, , exploiting may require other setups. example chose starting point: it's useful , easy understand. boa sorte...
Comments
Post a Comment