Posts by Beto Frega • 263 points
5 posts
- 
		0 votes1 answer51 viewsA: jQuery how to send via onkeyup and continue with the selected inputYour code has three errors: the name of the event is keyup, nay onkeyup. to return the field value .inpup, use the method .val() with no argument; the call $(this).val('') is clearing the field.… 
- 
		1 votes3 answers77 viewsA: Function Returning Another FunctionFirst of all, your code had some unused, conditional ternary returns that make the code harder to read, so I recommend a clean-up. I made a Fork on your Fiddle with some changes that I hope will… javascriptanswered Beto Frega 263
- 
		0 votes1 answer44 viewsA: Convert PHP output (mysql query) into a Javascript arrayYou yourself are putting the quotes there in your code. Remove and leave the code like this: function verificar(valor) { //Verificar se valor de m está contido em $week var m = 1; var arrdias =… 
- 
		1 votes1 answer457 viewsA: Send PHP generated image (GD) to Amazon S3The method putObject expects a file path, but you are passing a stream. For this it is possible to use the S3 Stream Wrapper, which enables the use of the protocol (wrapper) s3:// Your function… 
- 
		0 votes2 answers196 viewsA: Ajax Jquery - Accumulating requestsThe command .on('click') assigns a listener to the element #confirm_modal_ybtn each time the function confirmar is called. This way, by clicking the button a second time the same listener remains on…