title: AJAX not working here and some questions?
body: <p>After much research, I have found that Laravel is very nice. I have a homepage opening with an animation and after it the menu and page content splits into each side. With the links clicked, I only want content to change. I tried jQuery/ajax to work with. But I have a question, I want the links inside the content and sidebar-menu to change content. Can you show me the way to do that?</p>
  
  <p>This is my ajax.js :</p>
  
  <pre><code> $(document).ready( function() {
  
      $("#content ul li a").click( function(e){
           e.preventDefault();
           $('#page').load(this.href);
           return false;
      });
  
  });
  </code></pre>
  
  <p>This is my Articles controller:</p>
  
  <pre><code>&lt;?php
  class Articles_Controller extends Base_Controller
  {
  
      public $restful = true;
      public $layout = 'layouts.default';
  
      public function get_index(){
          $this-&gt;layout-&gt;title = "Anasayfa";
          $this-&gt;layout-&gt;content = View::make('articles.index')
               -&gt;with('articles',Article::order_by('id')-&gt;get());
      }
  
      public function get_view($id){
          $this-&gt;layout-&gt;title = "Hizmetlerimiz";
          $this-&gt;layout-&gt;content = View::make('articles.view')
               -&gt;with('article',Article::find($id));
      }
  }
  </code></pre>
  
  <p>My <code>default.blade.php</code>:</p>
  
  <pre><code>&lt;div id="wrapper"&gt;
      &lt;div id="page"&gt;
          {{ $content }}
      &lt;/div&gt;
  
      &lt;div id="sidebar"&gt;
          &lt;div id="sidebar-content"&gt;
          &lt;!-- MENU --&gt;
          &lt;ul id="menu"&gt;
              &lt;li class="current"&gt;&lt;a href="#"&gt;ANASAYFA&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;HAKKIMIZDA&lt;/a&gt;&lt;/li&gt;
  // ...
  </code></pre>
  
  <p>My <code>index.blade.php</code>:</p>
  
  <pre><code>&lt;div id="content"&gt;
  
      @foreach($articles as $article)
      &lt;ul class="blog-medium"&gt;
          &lt;li&gt;    
              &lt;div class="blog-medium-text"&gt;
                  &lt;h1&gt;&lt;a href="./post.html"&gt;{{$article-&gt; title }} &lt;/a&gt;&lt;/h1&gt;
                  &lt;p class="blog-medium-excerpt"&gt;&lt;p&gt;Tek kişilik sınıflarda YGS - LYS hazırlık programımızda dersler özel&amp;#8230;&lt;br /&gt;
                  {{ HTML::link_to_route('article','devamı', array($article-&gt;id)) }}&lt;/p&gt;
              &lt;/div&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
      @endforeach
  &lt;/div&gt;
  </code></pre>
  
  <p>My <code>view.blade.php</code>:</p>
  
  <pre><code>&lt;div id="content"&gt;
      &lt;h1&gt;{{$article-&gt;title}}&lt;/h1&gt;
      &lt;p&gt;{{$article-&gt;content}}&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>