title: Laravel 5.3 Ajax url not found
body: <p>I'm working on a screen with the following url <code>http://localhost/npr/public/admin/athletes/test/143</code> 
  On this screen, I've implemented the following dynamic droplist Ajax call that's not found:</p>
  
  <pre><code>$(document).ready(function() {
   $('select[name="section"]').on('change', function() {
  
       var sectionID = $(this).val();
  
       if(sectionID) {
           $.ajax({
               url: './getSportPositions'+sectionID,
               method: 'get',
               //data: {"_token": $('#token').val()},
               dataType: "json",
               success:function(data) {
                   $('select[name="position"]').empty();
                   $('select[name="position"]').append('&lt;option value=""&gt;'+ '-- Please choose one --' +'&lt;/option&gt;');
                   $.each(data, function(i, position) {
                       $('select[name="position"]').append('&lt;option value="'+position.name+'"&gt;'+ position.name +'&lt;/option&gt;');
                   });
               }
           });
       }else{
           $('select[name="position"]').empty();
       }
   });
  });
  </code></pre>
  
  <p>Route:</p>
  
  <p><code>Route::get('getSportPositions{id}','HomeController@getSportPositions');</code></p>
  
  <p>I've also tried with:</p>
  
  <p><code>Route::get('/admin/athletes/test/getSportPositions{id}','HomeController@getSportPositions');</code></p>
  
  <p>Is it due to athlete ID 143 in the calling URL? How do I fix this call?
  It seems from the error that it's trying to access this route:</p>
  
  <pre><code>Route::get('/admin/athletes/test/{athlete}/', [
      'uses' =&gt; 'HomeController@testAnAthlete',
      'as' =&gt; 'admin.test_athlete'
  ]);
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>    &lt;div class="form-group {{ $errors-&gt;has('position') ? ' alert alert-danger' : '' }}"&gt;
          &lt;label for="position" class="col-md-3 control-label"&gt;Position in Team&lt;/label&gt;
  
          &lt;div class="col-md-6"&gt;
              &lt;select class="form-control" name="position" id="position"&gt;
                  @if (!$errors-&gt;has('position'))
                    &lt;option selected value&gt; -- select a team first --  &lt;/option&gt;
                  @endif
              &lt;/select&gt;
          &lt;/div&gt;
          @if ($errors-&gt;has('position'))
              &lt;span class="help-block"&gt;
                  &lt;strong&gt;{{ $errors-&gt;first('position') }}&lt;/strong&gt;
              &lt;/span&gt;
          @endif                                        
      &lt;/div&gt;                    
  </code></pre>