I would like to pull in and use JQuery functions inside of the JetStrap editor (it is an online twitter bootstrap editor).
This code was given to me earlier for referencing a single function:
$(function() {
$.getScript('//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.0.2/js/bootstrap-datepicker.min.js', function() {
$('.datepicker').datepicker();
});
})
Can I recycle this code to reference the Google hosted version of JQuery so that I can use all its built in functions? Do I have to reference functions one at a time? Green to both JetStrap and web front end development.
I think JetStrap includes jQuery for you so that any code you put in the JS editor can use jQuery and any components in the bootstrap.js
When you render in 'Test' mode, and then view source you'll see these are included..