Questions tagged as 'ajax'

1
answer

Work with several requests to the server [Asynchrony] SetTimeOut, Promises ...?

I am working with several AJAX requests, some to PHP, others to txt ... The problem comes when working with the data returned from these requests to form something together (like a table). How can I work with all the information at once? I...
asked by 31.03.2018 / 16:56
1
answer

Return to a page after sending a message with sweet alert

if ($resultado) { $mysql->commit(); echo "<script> jQuery(function(){ swal(\"¡Inscripción realizada exitosamente!\", \"Sus datos fueron enviados correctamente \", \"success\"); } window.history.go(-1); ); </script>";...
asked by 01.04.2018 / 04:41
0
answers

How do I reload google recaptcha v2 when it is ajax success?

I want the sending of a form with recaptcha v2 to be successful, to recharge to use it again through ajax without having to reload the page     
asked by 28.03.2018 / 00:56
2
answers

Receive data in json from a mySQL query

good morning, I have an ajax where I send a variable id_account which I take it when reading the id of the option of a select, I then make a query which returns all the data of that account, I know that this part is fine because when I review...
asked by 28.03.2018 / 07:11
0
answers

Sending form and validating with jquery

I have the following problem, I have a form and I am including each part with php and validating the form with a jquery library this is the link Jquery validation , validate the form and show the following but in the following form after valida...
asked by 27.03.2018 / 05:32
0
answers

Update a record in the database with ajax?

What I'm looking for is updating a database record by recommending a more experienced programmer who told me that he would use POST to structure the following code. <script> $("#txtHoraSalida").val(hs); $("#txtGafete").ke...
asked by 07.04.2018 / 18:16
0
answers

consume web services with ajax

I have the following form. @section('content') <div class='panel panel-default'> <div class='panel-heading'>agregar estudiante</div> <div class='panel-body'> <form role="form"> <div...
asked by 30.03.2018 / 00:13
0
answers

AJAX + PHP How to update N browsers?

I've never worked with AJAX before, so I decided to do a mini chat, super ultra basic. There is a single history (it is saved in a .txt) Name is saved + date + time + message I made it work, but if I have 2 browsers open, chatting with eac...
asked by 04.04.2018 / 13:15
2
answers

Load Ajax when starting page and change results when performing search

this input #search performs the search for the value in my database from my database I pull a line Like the Rows that I show in #resultado: I want that when loading the page: I loaded the last 10 results created, I already ordered it in the M...
asked by 25.03.2018 / 05:54
0
answers

How to calculate amount in primefaces jsf with ajax?

I need to calculate the amount of products that are in a dynamic datatable I am using the edit property of datatable jsf. the multiply fields are the price by the amount = amount. the price is an outputlabel, the quantity is inputtext, and...
asked by 23.03.2018 / 16:30