I run this simple route and get message "No Ajax". I can't get any ajax request to function like autocomplete.
Route::get('/catagories', function() {
if (Request::ajax()) {
return "yeahhhh";
}
return "<br />No ajax";
return View::make('index');
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community