Questions tagged as 'ajax'

1
answer

How do I make an interaction between two tables with AJAX?

I need to make an interaction between two tables in a side tab, where initially an "answer" table is hidden and the "question" table will be available and as soon as in input of search above them I type something via AJAX it will automati...
asked by 16.08.2016 / 22:09
1
answer

Feed Textarea with bank field

I'm trying to do the following: I need to feed a textarea , every minute, with the result of the query below: $consulta = OCIParse($ora_conexao,"Select pcn.romaneio Romaneio...
asked by 23.08.2016 / 13:52
1
answer

How to select a dropdown loaded dynamically with jQuery?

I'm using a form to record dynamic questions in my system. I'm also recording this data in a session so you do not have to be selecting all the time in dropdows but you have a problem: In submit , in the Select a category: field, I get t...
asked by 15.10.2016 / 14:54
1
answer

Json in Jquery returns undefined

Although I have looked at all the various questions about this, I can not get my json to work, the code looks like this: $.ajax({ url: '<?= base_url('login/Pesquisar'); ?>', type: 'POST', data: $("#formulario_pesquisa").seria...
asked by 11.08.2016 / 15:58
1
answer

Passing an array via Ajax to Django view

I want to pass an array via Ajax to my Django view, but an error always occurs    stream_or_string = stream_or_string.read ()       AttributeError: 'NoneType' object has no attribute 'read' $.ajax({ url: 'ajax/', type: '...
asked by 12.08.2016 / 16:28
1
answer

MVC5 - Refresh partial view on ajaxStop

Hello, Inside my main layout page (_Layout), I render a partial view that is responsible for displaying messages that have been added by the controlled, through the Toastr javascript library. Partial view code @using Biblioteca.Util @usi...
asked by 12.09.2016 / 20:29
1
answer

Post with no fronend

I'm trying to post a form information but I'm not really sure how to do it. This is my C # form: @using (Html.BeginForm("Enviar", "Mensagem", FormMethod.Post, new { enctype = "multipart/form-data", @class = "", @id = "formNovaMsg" }))...
asked by 02.09.2016 / 18:46
1
answer

I am trying to return the name but only I can return the ID

I've been searching the days and could not find a solution. The scenario and the following: I have an employee registration screen and an employee edit screen with two classes a pessoa where I have generic property like name, addres...
asked by 03.08.2016 / 20:13
1
answer

load ajax combo when opening page

I have the following code to load the cities: $(function(){ $('#cod_estados').change(function(){ if( $(this).val() ) { $('#cod_cidades').hide(); $('.carregando').show(); $.get...
asked by 20.07.2016 / 01:19
2
answers

Dynamic tanking button

Next, on the page of each post has a button to "favor", how can I check if the post has already been tanned and change the name of the button to, for example, "favorited" and if not, by clicking the button would be done, but all in the backgroun...
asked by 02.07.2016 / 05:03