title: jQuery dynamic canvas creation, $ctx.getContext is not a function
body: <p>When I try to execute this in jQuery I get <code>$ctx.getContext is not a function</code> in firebug.</p>
  
  <pre><code>var $ctx = $( '&lt;canvas /&gt;', {width:'100', height:'100'} )
  $widget.append($ctx)                                     
  $ctx.getContext('2d')                                    
  </code></pre>
  
  <p>Any idea why I get this error? How do I dynamically create and initialize a canvas element?</p>