У меня есть другой способ использовать его: AJAX
data = {
selectmanufacturer: selectmanufacturer,
categories: selectCategory,
_token: "{{csrf_token()}}",
productName: productName
};
$.ajax({
url: '{{URL::to('/all-products-data')}}',
type: 'POST',
dataType: 'json',
data: data,
success: function (response) {
},
error: function (response) {
alert(response);
}
});
Контроллер:
public function Points(Request $request){
$test = $request->all();
return "$test";
}
Я надеюсь, что это будет полезно для вас
В командной строке я запустил:
C:\Program Files\Microsoft Visual Studio 9\Common7\IDE\devenv.exe /resetsettings
Теперь все отлично работает! Это спасло меня от переустановки.
Did you try reinstalling Visual Studio like you were told to do?
I tried "resetsettings" and repairing the installation form add/remove programs, both didn't work.
Solved the issue by deleting the following registry key.
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio
Visual studio will ask you to select the language preference when you open it again. (Make sure that you delete the key from HKCU and not from HKLM)