Bootstrap2 experiment 1

Ken Webb 2011-03-23T18:32:35Z

Work through the following steps. For each step, copy the highlighted text, and paste it into the address bar of the Bootstrap 2 page.

(1) Load the popular jQuery JavaScript library.

javascript:(function(src,type){var style=document.createElement('script');style.setAttribute('src',src);style.setAttribute('type',type);document.getElementsByTagName('head')[0].appendChild(style);})('https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.js','text/javascript');

(2) Test that jQuery is now available for use on the Bootstrap 2 page, by having it show the current time in milliseconds.

javascript:alert($.now());

Try a page where step 1 has already been done, and step 2 is available as a link.

Return to the Bootstrap 2 wiki page.

return to main page