I would like to collect all the code section present in the HTML page in some variable.
What should be the simpler w
Without jQuery :
var scripts = document.getElementsByTagName("script");
With jQuery :
var scripts = $("script");