Posts by Yago ML • 173 points
4 posts
-
1
votes1
answer463
viewsA: Error in Ajax request
In this case, as it is a table, it is not possible to serialize. If you need to pass only the ID, you can do so: $.ajax({ type: "POST", url: "administrador.php", dataType: 'json', data: {IdAparelho:…
-
3
votes1
answer679
viewsA: Insert result ajax dynamic query into input
Then in the funcs.js, vc should assign the response to input value. Change: document.getElementById('conteudo').innerHTML = resposta; for: Native Javascript: document.getElementById("busca").value =…
-
0
votes3
answers401
viewsA: How do I send a field just by ajax?
Since you only want to send the device ID, the right one would be: $("#visualizarAparelhos").submit(function (e) { e.preventDefault(); $.ajax({ type: "POST", dataType: 'json', url:…
-
0
votes1
answer107
viewsQ: Firefox redirects to wyciwyg://url
After an Ajax call, return html as string and Gero a new page with document.write(). But when browsing this page, when using the browser back or forward, the urls of the pages begin to come with…