User Tools

Site Tools


eg-259:lecture5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
eg-259:lecture5 [2013/02/12 08:24] – [Screen Output: jQuery magic] eechriseg-259:lecture5 [2013/02/12 08:27] (current) – [Screen Output: jQuery magic] eechris
Line 575: Line 575:
 </div> </div>
 </code> </code>
- 
   * Output function   * Output function
 <code javascript> <code javascript>
 $('#result').append('<p>The html you would have written with <code>document.write()</code></p>'); $('#result').append('<p>The html you would have written with <code>document.write()</code></p>');
 </code> </code>
 +  * Result 
 +<code html> 
 +<div id="result"> 
 +<p>The html you would have written with <code>document.write()</code></p> 
 +</div> 
 +</code>
 ===== Screen Output: alert ===== ===== Screen Output: alert =====
  
eg-259/lecture5.1360657491.txt.gz · Last modified: 2013/02/12 08:24 by eechris