eg-259:lecture5
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eg-259:lecture5 [2013/02/12 08:16] – [More on Variables and Operators] eechris | eg-259:lecture5 [2013/02/12 08:27] (current) – [Screen Output: jQuery magic] eechris | ||
---|---|---|---|
Line 564: | Line 564: | ||
---- | ---- | ||
- | In Firebug | + | In Firefox and Chrome developer tools there is a JavaScript console. You can write to it using: |
<code javascript> | <code javascript> | ||
console.log(" | console.log(" | ||
</ | </ | ||
- | does almost the same thing as '' | + | It's better than '' |
+ | ===== Screen Output: jQuery magic ===== | ||
+ | * HTML placeholder | ||
+ | <code html> | ||
+ | <div id=" | ||
+ | </ | ||
+ | </ | ||
+ | * Output function | ||
+ | <code javascript> | ||
+ | $('# | ||
+ | </ | ||
+ | * Result | ||
+ | <code html> | ||
+ | <div id=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
===== Screen Output: alert ===== | ===== Screen Output: alert ===== | ||
eg-259/lecture5.1360656996.txt.gz · Last modified: 2013/02/12 08:16 by eechris