title: Nodejs, Express, site navigation
body: <p>I'm writing a simple web application using Nodejs, Express, and Jade.  I've set up my routes appropriately.  I'm having a problem with navigating between views.  I am able to change views by entering the appropriate url in my browser.  How can I get my application to change views on button click?  I realize this may stem from a fundamental misunderstanding of the technologies I'm using.</p>
  
  <p>Currently, I am trying to hit my controller via jquery ajax</p>
  
  <pre><code>$('#submit').click(function(){
    $.ajax({
       url: "/go",
       data: "site=" + $('#website').val() + "&amp;img=" + $('#image').val()
    });
  </code></pre>
  
  <p>});</p>
  
  <p>This successfully hits my controller:</p>
  
  <pre><code>app.get('/go', function(req, res){
      res.render('view', {title: 'create', site: req.query['site'] });
  </code></pre>
  
  <p>This returns the proper html, however it does not get rendered as a new view.</p>