title: How to load view blade after Ajax Success
body: <p>I want to display the blade form after ajax success but the result is not rendered properly ...</p>
  
  <p><strong>CategoryController.php</strong></p>
  
  <pre><code>public function edit($id)
  {
      $categories = Category::find( $id );
  
      return view( 'modules.category._form', compact( 'categories' ));
  }
  </code></pre>
  
  <p><strong>_form.blade.php</strong></p>
  
  <pre><code>{!! Form::model($categories, ['url' =&gt; route('categories.update', $categories-&gt;id), 'method' =&gt; 'put']) !!}
  &lt;div class="form-group{{ $errors-&gt;has('title') ? ' has-error' : '' }}"&gt;
  {!! Form::label('title','Title') !!}
  {!! Form::text('title', null, ['class'=&gt;'form-control','placeholder'=&gt;'Enter title here']) !!}
  @if ($errors-&gt;has('title'))
  &lt;span class="help-block"&gt;{{ $errors-&gt;first('title') }}&lt;/span&gt;
  @endif
  &lt;/div&gt;
  &lt;div class="form-group form-actions"&gt;
  &lt;button type="submit" class="btn btn-sm btn-primary"&gt;&lt;i class="fa fa-angle-right"&gt;&lt;/i&gt; Update&lt;/button&gt;
  &lt;button type="reset" class="btn btn-sm btn-warning"&gt;&lt;i class="fa fa-repeat"&gt;&lt;/i&gt; Reset&lt;/button&gt;
  &lt;/div&gt;
  {!! Form::close() !!}
  </code></pre>
  
  <p>view</p>
  
  <pre><code>&lt;div id="form-edit"&gt;&lt;/div&gt;
  
  &lt;script&gt;
  $(function(){    
  $('.edit').click(function(){
              var id = $(this).data('id');
               var form_action = $('#edit'+id).data('href');
               $.ajax({
                  type: 'GET',
                  url: form_action,
                  data: { '_method':'PUT','_token':$('meta[name=csrf-token]').attr('content'),'id':id },
                  success: function(result){
                      $('#form-edit').html(result);
                      }
               });
            });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>Result:</p>
  
  <p><a href="https://i.stack.imgur.com/cNxFR.png" rel="nofollow noreferrer">result</a></p>
  
  <p>Form HTML Laravelcollective not render</p>
  
  <p>How to fix itu ? ...</p>