Questions tagged as 'ajax'

1
answer

DO I make more than one ajax request on the same page?

I am doing a search in the database and returning this data in a table via ajax, then in this same table there is a column that has a link that returns more information about the data, all by ajax. The first ajax request happens as expected, but...
asked by 28.06.2015 / 17:03
4
answers

Error in return JSON PHP for AJAX

I can not return success, it is always falling into error. The server side seems to be ok, the email is sent correctly, I just can not display the success and I do not understand why. PHP header('Content-type: application/json'); // D...
asked by 27.05.2015 / 17:08
1
answer

Site with MP3 audio does not touch the iPhone

I have a site where I play MP3 songs by clicking on PLAY. On the PC it works perfectly, however on the iPhone it does not play. PLAY BUTTON echo "<a href='#' id='tocar-musica'> <input type='hidden' class='nm-musica' value='$con...
asked by 25.05.2015 / 16:24
1
answer

Why does serialize form return empty textarea value?

Good evening, I am creating a CMS based on bootstrap php and ajax what happens to me and that I can send the data of form all method POST minus the value of textarea always returns empty I'm using tiny...
asked by 29.03.2015 / 21:11
2
answers

Doubt on ajax

My question is whether this code is correct. $(document).ready(function(){ $("#fechar").click(function(e){ e.preventDefault(); String lista_Cont = $(this).attr('<?php include "listaUsuario...
asked by 02.06.2015 / 21:29
1
answer

"Provisional headers are shown" slow request

When I make an AJAX request with $.post of jQuery while the request is made, Chrome displays me a Provisional headers are shown and I feel it for the request while displaying this message, so it takes longer to finish the request Doe...
asked by 06.03.2015 / 13:43
1
answer

Ajax does not work in Firefox

It works perfectly on the Chrome browser, and other browsers do not ... When I type the login and password it displays the message "Login Done Successfully!" and the page is stopped in Mozilla. See the code: echo "<meta http-equiv=\"r...
asked by 19.02.2015 / 07:38
1
answer

Upload pages without duplicating content through AJAX

I have a ajax + pushState navigation system on my site. If the user clicks an internal link, it will be done $.post and I check in PHP if $_SERVER["REQUEST_METHOD"] === "POST" so I load a page, for example: indexPost.html ,  a...
asked by 19.04.2015 / 07:53
2
answers

Insert the return json into divs separated by div / div

I have a return of type JSON that I'm trying to insert into the div, but it's all inserted one on top of the other. <!-- DIV que vai receber as informações --> <section> <div class="conteudo"> <div class="foto"> F...
asked by 04.02.2015 / 17:40
1
answer

Event on (change) on radio button

In the project I have a file that asks for freight rates and at the same time returns two radio buttons with the freight values. The HTML return is as follows: <p> <b>Selecione: </b><br> <input type="radio" n...
asked by 02.01.2015 / 21:35