javascript - Reference JQuery in JetStrap (Online Twitter Bootstrap Editor) -
i pull in , use jquery functions inside of jetstrap editor (it online twitter bootstrap editor).
this code given me earlier referencing single function:
$(function() { $.getscript('//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.0.2/js/bootstrap-datepicker.min.js', function() { $('.datepicker').datepicker(); }); }) can recycle code reference google hosted version of jquery can use built in functions? have reference functions 1 @ time? green both jetstrap , web front end development.
i think jetstrap includes jquery code put in js editor can use jquery , components in bootstrap.js
when render in 'test' mode, , view source you'll see these included..
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script> <script src="https://s3.amazonaws.com/jetstrap-site/lib/bootstrap/2.3.0/js/bootstrap.js">
Comments
Post a Comment