Posts by Danilo Molina • 117 points
6 posts
-
-2
votes4
answers29846
viewsA: Request with Axios and React blocked by CORS policy
Good afternoon! Troubleshooting issue. I created a proxy in package.json file "proxy": "http://api.teste.com.br/v1" and made the requisition so: axios.post('http://localhost:3000/getToken',…
-
4
votes4
answers29846
viewsQ: Request with Axios and React blocked by CORS policy
I’m trying to request an API using Axios: axios.post('http://api.teste.com.br/v1/getToken', { withCredentials: true, auth: { username: 'usuario', password: 'password' }, headers: {…
-
1
votes0
answers333
viewsQ: Rotate CSS3 or Javascript image
How do I know I have to rotate an image to display it on a page? I can check this in css or it has to be in javascript? It is that on Dashboard of a site that I developed the image appears upside…
-
0
votes1
answer132
viewsQ: Successful message when finishing uploading images
Because at the end of the upload of the images is not entering the "DONE" when he would have to present a message of success. I’m using the plugin jQuery File Upload. Follows my code:…
jqueryasked Danilo Molina 117 -
3
votes1
answer790
viewsQ: Event on('change') fires by clicking outside the element
I have the following code in a input of type file: $('input-imagem').on('change', function() { alert( $(this).val()); }); It works almost straight, when I click off the input he gives the alert…
jqueryasked Danilo Molina 117 -
4
votes1
answer1685
viewsQ: Ubmit in form with jquery does not work
I have a form and inside this form I have an input file type. <form id="formulario" method="post" action="upload.php"> <input id="imagem" name="imagem" type="file" class="da-custom-file…