Posts by Felipe Prestes • 13 points
2 posts
-
0
votes2
answers290
viewsA: Doubt in passing parameters via AJAX to ASP NET CORE Action
I was able to identify the error. It was missing to add the full path to the URL in AJAX. The corrected section was thus: var id = $("#statisticId").val(); console.log(id); $.ajax({ contentType:…
-
1
votes2
answers290
viewsQ: Doubt in passing parameters via AJAX to ASP NET CORE Action
Friends, I’m having trouble passing a value to the action of a specific controller that takes as parameter an id of type int. AJAX var dataForm = $("#statisticId").val(); $.ajax({ contentType:…