Questions tagged as 'ajax'

0
answers

Ajax, scroll through each element

I have an ajax that returns this to me. {curso: "Administração", nDeAluSelecionadosRespondentes: 0, nDeAlunSelecionadosNaoRespondentes: 0, numeroDeAlunosSelecionados: 0, percentDeAluNaoSelecionadoRespondentes: 0, …} 1 : {curso: "Administração"...
asked by 23.10.2017 / 21:27
2
answers

How to update a select in html with javascript

I'm new to development and need help. I have a select in html that needs to be updated when selected data from another select. Follow html code: $(document).ready(function () { $('select[name=camporegiao]').on('change', function...
asked by 23.10.2017 / 14:32
1
answer

Ajax does not send the data to another php page

I'm not able to send the value of an input to another php page. In my products.php page I search the database and load the show_itens page inside a div. When loading data into this div, I mount an input. This "input: deflarg" that I am not ab...
asked by 21.10.2017 / 19:27
1
answer

Fill input2 from input1?

I have "input1" that looks for the name of a client and saves its id in the table, this search is done by autocomplete with JavaScript. Now you need to have the "partner" id linked to the client id that has been inserted in "input1", both bel...
asked by 01.11.2017 / 14:07
1
answer

Error in Ajax request with CodeIgniter (url)

I have a very strange problem, if anyone can help, thank you right away. I'm developing an application in CodeIgniter 3.1.6 with PHP 7.1 and Bootstrap 4 . The home screen displays a list of students (obtained from a controller named...
asked by 19.10.2017 / 02:41
1
answer

How to handle xml return in Jquery

I am making an Ajax request for a PHP page that returns me several XML data. If I make a simple recovery code by directly opening the PHP page, of course, however, I'm requesting another page that calls the data from another PHP via Ajax with Jq...
asked by 17.10.2017 / 07:05
1
answer

Form data is not sent with event.preventDefault ()

When submitting a form, I am using ajax and event.preventDefault() so the screen will not be reloaded. In my project, I made a small MVC structure, where the URL that step is the path that leads to the desired controller. When I subm...
asked by 16.10.2017 / 09:37
1
answer

Enable link after update in Database

I need to have the admin of the virtual store after enabling the store by the manager, the link in the site is enabled automatically. See: And on the site when the store is disabled in the manager, the message: Come back soon. Not much...
asked by 02.11.2017 / 15:00
2
answers

Searching and displaying results in select

I have two fields, an "input" and a "select", I wanted that when I started typing a user name in the input automatically the select options would be populated with data coming from the DB related to what I am typing similar names).     
asked by 10.10.2017 / 19:55
0
answers

Error in div view with jquery

Good morning guys over stack I have the following problem. I try to display content on the screen, some of this content gets duplicated. arrayObjCat9 = []; $(".form-group").find('*').each(function() { var id = $(this).attr("id");...
asked by 10.10.2017 / 15:27