Questions tagged as 'jquery'

2
answers

jquery blur on dynamic inputs

I have a form where I dynamically create the <inputs> With the following structure: <input class="form-control placaCss Tamanho200 text-box single-line valid" id="Veiculos_3b875035-ae1b-4b69-8ddc-462bbfd86fbd__Placa" name="V...
asked by 06.08.2017 / 05:14
1
answer

Display and maintain submenu with JQuery

I'm doing a submenu and when I move the mouse in an option it shows a div with several options, so I made a mouseout in the class of that div to hide it but the question is that it even surfing inside it. Follow the code...
asked by 05.08.2017 / 22:53
2
answers

Error receiving array from php in ajax

I have a script like following code: $("#submit").click(function(){ var dataString ={ nome : $("#nome").val(), status : $("#status").val(), id : $("#id").val() }; $.ajax({...
asked by 05.08.2017 / 20:11
1
answer

How to check equal values of a Foreach

Well I have two forEach . The first one takes the value of a sessionStorage , that is, the ID of the neighborhood registered by the user. The second one returns all registered districts and their respective IDS. I wanted to make t...
asked by 14.09.2017 / 14:39
2
answers

How to execute a jquery script when loading a page

This is my form: <form name="ff"> <select id="type" name="type"> <option value="0">Federal</option> <option value="1">Estadual</option> <option value="2">Municipal</opti...
asked by 13.09.2017 / 23:55
1
answer

Jquery add and remove attribute not working

I'm trying to create a way to minimize and maximize a DIV. Minimize works, but maximize does not. What am I doing wrong? $("#chatMinimizar").click(function() { $("#chat").attr("style", "height: 45px;"); $("#chatMinimizar").attr("i...
asked by 25.07.2017 / 23:17
1
answer

Search for data-id and Remove from database

I have this foreach () <?php foreach($fotos_ingresso as $valor){ ?> <div id="fotos-listagem-imagem"> <a href="javascript:;" data-toggle="modal" data-target="#confirma-deletar-imagem" data-href="#" data-id="<?php e...
asked by 25.07.2017 / 23:13
1
answer

Create animation "FadeOut"

The table is created by javascript code, when clicked on an item from another table, but it has no animation. The animation I want to put is "FadeOut". When the table item is clicked, it should appear with the "FadeOut" effect. I tried to use Fa...
asked by 26.07.2017 / 06:17
2
answers

jQuery validate characters in input

I'm doing a function activated by the onkeydown of input, which should check the characters entered one by one, and only allow input into the input of those that are valid, this must happen before the characters are shown in the value of the inp...
asked by 27.07.2017 / 20:06
1
answer

Handling classes with jQuery / Javascript

Within the hierarchy below, how can I manipulate a given class to <th> after clicking on an element within <td> ? Remembering that there are several tables like this one. <table> <thead> <tr>...
asked by 27.07.2017 / 20:41