Back to Html
Press CTRL + SHIFT + I to open the Browser debug console
In [1]:
%%javascript
console.info($);
window.alert($);
$, $.
jQuery
>> $
>> jQuery
<- function x()
>> $()
>> jQuery()
<- Object { }
In [2]:
%%javascript
var sequence = [1, 2 ,3];
$.each(sequence, function() {
var sequence_item = this;
window.alert(sequence_item + " -> " + Number(sequence_item + 1));
});
In the Browser console, execute the commands below to see jQuery in action!
>> $("div.CodeMirror-lines").toggle()
>> $("div.input_area").toggle()