html - Add a date picker to a JetStrap page (Twitter Bootstrap) -
just started using jetstrap tonight build basic entry forms. lots of cool tools , fields, no date picker. (check out if haven't!) other topics discuss being done twitter bootstrap, not directly...
can extend libraries / controls available in jetstrap page pulling in other web sources (a google hosted library example) add in additional functionality? i'm new web front end work , work in jetstrap possible without having download code locally , set own local iis site.
i 1 of creators of jetstrap.
we adding easy external js/css feature soon, in mean time, can load script dynamically javascript in js editor:
$(function() { $.getscript('//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.0.2/js/bootstrap-datepicker.min.js', function() { $('.datepicker').datepicker(); }); })
and in markup can add:
<input type="text" value="02-16-2012" class="datepicker">
Comments
Post a Comment