Questions tagged as 'jquery'

1
answer

Get value and date attr from jQuery related element

I have a small problem with jQuery, I have the following order of divs: $(document).on('click', '.btn_salvar_obg_acess_prazo', function() { var data = $(this).prev('.acess_prazo_date').val(); alert(data); }); <div class="row">...
asked by 10.04.2017 / 20:46
1
answer

Close Form Dynamically jQuery

The form is a registration form for a hotel for cats. The tab has the option of adding more than one cat per record, so I clone the cat's registration form to include the second cat, but I can not get the clone form to be closed by a Close butto...
asked by 12.04.2017 / 15:35
2
answers

Is it possible to return 2 values in an Ajax?

I have the following script: ('#AjaxUpdateClient').submit(function(e){ var id = $(this).attr("id"); var form = $(this).serialize(); $.ajax({ type: "POST", url: "/updateClient", data: form, dataType:...
asked by 22.04.2017 / 17:41
2
answers

Sometimes jquery does not work

I have a button on a page that calls an API. The button allows you to follow a user or stop following. Clicking the button changes a label that is next to the button and the symbol on the button. The problem is that sometimes everything wo...
asked by 16.05.2017 / 18:31
3
answers

Mount html structure with ajax array result?

I would like the following structure for my page: <div id="ProdutosSeller" class="col-md-3 col-sm-6 hero-feature"> <div class="thumbnail"> <img src="imagem" alt=""> <div class="c...
asked by 18.05.2017 / 15:51
1
answer

bug multiply coins flip jquery

I'm developing some kind of game of the old one, but there is an error that is disturbing me, I need the flip animation to work all the coins, but it only works at first ignoring the others. code: link As you can see in codepen, the code...
asked by 16.05.2017 / 10:20
1
answer

Keydown function jumping an input in the TAB

Good afternoon, I have a function that when I press the enter it creates a new series of inputs in the first line pushing the filled ones down, so that when I pressed the tab in the last also the same function occurs, however, when I press the e...
asked by 05.04.2017 / 18:28
1
answer

Google charts with code in body for request

Have you ever used goolecharts? I can only do the plot if he is in the head, how do I get his code to stay in the body? I want to plot via a request     
asked by 16.05.2017 / 13:51
1
answer

How to get the id of each link in the click? Only the first id comes

How do I get data-id of all links? Only the first one is coming, repeated. [![$("#filmeItem").on("keyup focusin", function (e) { $('.livesearchItem').fadeIn('1000'); e.preventDefault(); var busca = $('#filmeItem'...
asked by 05.04.2017 / 18:24
1
answer

multipleSelect jQuery does not update the received values in JSON dynamically

Can you explain to me why the jQuery multipleSelect () class does not update the received values via JSON ? For example, when I select a state, in my other selection field, the related cities of that state are filtered. When I linko the...
asked by 02.05.2017 / 17:12