Posts by paulo h • 26 points
3 posts
-
0
votes1
answer429
viewsA: Upload photo with Javascript
You must use the formData in the service of the Angularjs for this, check if your api is prepared to receive requests in formData First call the JS Formdata class var fd = new FormData(); After you…
-
0
votes2
answers451
viewsA: Nodejs - Token authentication?
You can set the token in the url, the best thing to do to not fill the address field is to use in the request header, this part Voce will configure in front end, use the angular.io (angular 2)...…
-
1
votes1
answer194
viewsA: Refresh a div with sql data without reloading the page
Use ajax: $("select[name=cor]").change(function(){ $.getJSON("linkdeconsulta",{idcor:$(this).val()}, function(data){ $.each(data, function(i, obj){…