title: How to draw a line using jQuery and HTML5 canvas
body: <p>I have what I feel should be a simple question. I have been trying to search for it for   a while but everything I find is more complex than what I need. So here is my question. How can I draw a simple line on an HTML canvas using jQuery?</p>
  
  <pre><code>&lt;canvas id="canvas"&gt;
  &lt;!-- I want jQuery to draw a line here --&gt;
  &lt;/canvas&gt;
  
  
  $(document).ready(function() {
     //I would like the line to draw when the document loads.
  });
  </code></pre>
  
  <p>Note.. I am not looking for it to draw or show a drawing motion or anything like that. Basically I just want to be able to load the page and have a line appear. My end goal is eventually draw 3d objects. But before I can do that I first need to know how to do the basics... (IE) Draw a line. </p>
  
  <p>Thanks in advance</p>