Posts by Alaexandre • 1 point
8 posts
-
1
votes0
answers21
viewsQ: Upload files using ASP.NET MVC, AJAX and jQuery
I have the following problem when uploading file to ASP.NET MVC with AJAX and jQuery it enters the if that checks if Listings files != null and arrives in Console.Writeline(source.Filename); to…
-
1
votes0
answers18
viewsQ: S.P.Angular works on the most non-web localhost
Good morning I created a SPA with angular running normally on the localhost on my machine, but I put in the guithub and it didn’t work, So far I thought it’s for the guithub and for static pages and…
-
0
votes2
answers50
viewsA: Send selected value in select to mvc controller
Now I managed to solve totally, I had to make another ajax call to send the data to the controller with fetch not right because the controller is waiting for a Json. the full working code:…
-
0
votes2
answers50
viewsA: Send selected value in select to mvc controller
Just to register I managed to solve, the problem was that the controller was not sending the value inside the value="" of select, as the value to be written and the value of the option is the same I…
-
1
votes2
answers33
viewsA: Logical and syntactic error in my currency converter
Bro what you trying to do? 1° explain your doubt/difficulty 2° what you have tried? 3° if ask others to solve will never learn. 4° Ta very confused your code if (moe1 == "Euro") { if (moe2 ==…
javascriptanswered Alaexandre 1 -
1
votes2
answers414
viewsA: Image rotating automatically
Open the image of Ctrl+r until it is in the right position save and use in your html. I’ve had this problem and so it solved a good practice would be to put the images in <img src="" ...> and…
-
1
votes2
answers137
viewsA: Select of dynamic cities , according to the selected state
Mano I would do using a back end service, ai da save the languages in a database and use ajax ex: the html: <select asp-for="Estado" id="Estado"aspitems="@(newSelectList(@ViewBag.Origens))">…
javascriptanswered Alaexandre 1 -
1
votes2
answers50
viewsQ: Send selected value in select to mvc controller
The code: $(function () { $('#IdiomaOrigem').change(function () { var data = $("#IdiomaOrigem").val(); var destino = $("#IdiomaDestino").val(); $.ajax({ url:…