with apologies

Debugging with jQuery

Richard Mortier · November 16, 2016 · #old

I had cause to do this recently, so here’re the runes from http://stackoverflow.com/questions/7474354/include-jquery-in-the-javascript-console for the record:

var script = document.createElement('script');
script.src = "https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(script);