Questions tagged as 'ajax'

2
answers

Error when requesting Ajax

When I try to make a request ajax using the command $.post of jQuery, an error appears in the netWork of the chrome someone knows what that error might be Code:Iamusingthecodeigniterframework$.post('/pages/entradaprodutos/carregar_no...
asked by 20.02.2014 / 15:32
1
answer

Get tab id - jquery

I'm trying to get the id of tab like this: var id = $('.tab-pane').find(':required:invalid').closest('.tab-pane').attr('id'); Now I'm trying this way: $('#FornecedorNovo').on('submit', function (e) { $.each($('input[dat...
asked by 25.10.2018 / 19:33
1
answer

How to pass more than one url to ajax consume json?

I need to create div's with data from two urls with json via ajax, and the data will be returned on the same page, however I need to pass two urls as a parameter, how can I do this? var url_aparecida = 'https://upvagasweb.000webhostapp.com/ger...
asked by 27.11.2018 / 19:43
1
answer

Ajax doubts in updates

Good morning! I would like to know how Ajax technology works, if it is possible I make a code in php and call it through an ajax, type an query, would I put the answer file on one page and the php on another with ajax? How does it work, could yo...
asked by 11.09.2018 / 14:39
2
answers

send file by ajax [duplicate]

I have a form to fill and write files in the database passing the data by ajax but the file is not arriving. The form: <script src="jquery.min.224.js"></script> $("#documento").click(function(e) { e.preventDefault(); var t...
asked by 26.09.2018 / 15:16
1
answer

Simplify and unify functions in one

How can I simplify and leave everything in a single function the script below? var plano_0 = new XMLHttpRequest(); plano_0.open('GET', 'buscar_valor.php?id=10', false); plano_0.send(null); plano_0=plano_0.responseText; plano_0...
asked by 04.09.2018 / 03:52
1
answer

Help with DataTable Server-side

Hello, I wanted to know the best way to create a Server-side DataTable. Some questions I have: The next button does not work, and the log counter does not work either. How do I fix it? I'm using Start and Length in SQL code, is there a sim...
asked by 02.09.2018 / 01:15
2
answers

Is there any way to receive mail through php or some other programming language?

Good afternoon everyone, I am not a professional developer, I know that in php there are ways to send email through phpmailer (), I would like to know is if there is any way to receive an email through public domain like gmail, outlook, yahoo...
asked by 18.08.2018 / 17:37
2
answers

Working with Ajax

In the blur event of a field, I give a select in my bank and bring a value and fill in my html. My question is how do I get more than one result or a specific result in the ajax date. The code below works, but it only brings monthly if the cu...
asked by 29.07.2018 / 14:37
1
answer

When making a ajax request, are there problems if I reload the page immediately?

Hello, I'm developing a system in PHP where it works with lists of IPTV stored in services like pastebin. The user submits a url such as ( link ) in a form and my script will parse row by line of list contents. The problem is that the server tak...
asked by 10.07.2018 / 07:48