Questions tagged as 'ajax'

1
answer

I want to declare a javascript variable by INPUT TEXT

I would like to do the reverse of this script, in this script you click the GENERATE button, it generates 4 digits What I want to do is the inverse, I want to declare the variable "1298105" (or whatever) and click Generate and it generates be...
asked by 22.04.2017 / 00:23
2
answers

Find data in Json and display time in time and move to javascrtipt

I need to get the data that is in json format example: {"latitude": "-3,3462, -60,6790"} I need to display the results time in type every 5 seconds and move to the javascript without giving refresh on the page.    javascript var...
asked by 13.04.2017 / 16:14
0
answers

consume asmx with ajax (outside the webservice layer)

In my solution I have several layers and one of them is the webservice, all pages that conserve the webservice and are in the webservice layer work, but I put it in another layer of the error in javascript.           <table border=...
asked by 20.04.2017 / 12:27
2
answers

Line Break

Good night, I make a query and in my query I can not do line break, results appear side by side, already have \n , \n , <br /> , <BR> in PHP and not It worked ... Can Someone Help Me? JavaScript functi...
asked by 25.04.2017 / 03:00
1
answer

Upload on submit form AJAX [duplicate]

I have a form where I send data through jQuery AJAX. However, I would also like to send a file. How do I add to my code? var formData = { 'titulo': $('input[name=titulo]').val(), 'tipo' : $('select[name=tipo]').val(), 'dataa' :...
asked by 06.05.2017 / 01:36
0
answers

JSON DOES NOT RETURN

I'm doing an update to the database. But json does not return. Can you help me please? JQUERY ARCHIVE $(document).ready(function($) { // Evento Submit do formulário $('#myForm').submit(function() { // Captura os dados do formulário...
asked by 06.04.2018 / 12:32
1
answer

How to create a real-time list with PHP and Ajax

I'm creating a recipe site, where the ingredients will be individually registered in a table, referring to the recipe id, example of how the tables are: ptp_receitas id|nome 1 |receita de feijão ptp_receitas_ingredientes id|id_receita|ingredi...
asked by 06.04.2018 / 15:01
1
answer

What is the best way to connect to a web server using Java Web?

I'm working with a Java Web application, which will constantly grab a txt file, and update that data constantly in an HTML page, but I do not know what the best option to connect to a web server, should I use sockets or a connection per post wit...
asked by 10.04.2017 / 21:31
0
answers

Ajax / php page is not working on iOS

My site's pagination is running at all, both pc and android browsers, but on iphone or ipad, it's not working. Is there any solution I should do to improve this all on iOS? I am using ajax with php. My script is simple: $(document).ready(funct...
asked by 05.04.2017 / 21:26
0
answers

autocomplete does not work after ajax call

I have a zip field with autocomplete that works perfectly when I type something. However, this field is also populated after an ajax call that fills in the zip code automatically, but when it receives the (full) value of the call the auto...
asked by 17.04.2017 / 17:11