Questions tagged as 'jquery'

1
answer

How can I remove table row with jQuery

I created a table with two buttons one has the function to add new rows to the table and another to remove them. I tested this way and can only add new lines, when I try to remove an error happens. var table = $( '#table-data' )[0];...
asked by 12.03.2018 / 15:59
1
answer

shortcut with alt and two letters

Good afternoon I have this code here $(document).on('keydown', function(e) { console.log(e.which); // Retorna o número código da tecla console.log(e.altKey); // Se o alt foi Pressionado retorna true if ((e.altKey) && (e.which ===...
asked by 05.03.2018 / 16:59
0
answers

Using selectize

I'm trying to use selectize in my ASP.NET C # WEBFORMS project. I'm not getting it to work, I downloaded the folder, and added it to my project, and I referenced it like this: <script type="text/javascript" src="/javascript/jquery.js"&g...
asked by 02.03.2018 / 13:50
1
answer

Check the input and then click the button

What I do for only if the input is checked is that the person can click the "ok, I got it". <div class="container"> <button type="button" class="btn btn-info" (click)="openModal(template)">Create template modal</button>...
asked by 10.03.2018 / 01:20
0
answers

Ajax GET Autocomplete Problem

I have the following function, which does a GET for my API: function filmeBusca() { var prefixo = $('#buscaFilme').val(); $("[id$=buscaFilme]").autocomplete({ source: function (request, response) {...
asked by 01.03.2018 / 02:41
1
answer

How do I get the value that is dropped inside a div and ignore the values that are inside other tags inside the div, using jquery?

I have the following HTML: <tr> <td> VALOR PARA SER PEGO <span>Esse valor não é pra ser pego</span> <span>Esse valor também não é pra ser pego</span> </td> </tr>...
asked by 28.02.2018 / 18:55
2
answers

MaskMoney w / Jquery or JavaScript

How to create a mask for values in Reais R $? I tried using link but I did not succeed. I'm in need of a mask to present me with something like this: R $ 0.01 R $ 0.10 R $ 1,00 R $ 10.00 R $ 100.00 R $ 1,000.00 Something like this !!!     
asked by 26.02.2018 / 19:26
1
answer

Jquery, append fading

Good afternoon! My Jquery is adding the results obtained via ajax and they are disappearing. What could be happening? And how to solve? Thanks var _urlSearchInput; var _urlSearch; $('#vai').click(function(){ _urlSearchInput = $('#campo-...
asked by 26.02.2018 / 17:32
2
answers

PROBLEM WITH AJAX JSON

File IMG_TROCAR.PHP code <?php include_once('config/config.php'); $ligacao = new PDO("mysql:dbname=$baseDado;host=$host", $user, $pass); $id = $_POST['id_user']; $mudarAvatar = $_FILES['img_avatar']; if($mudarAvatar['...
asked by 04.03.2018 / 13:34
0
answers

Fill DROPDOWNLIST with another DROPDOWNLIST asp.net razor

I need to populate a dropdownlist with another dropdownlist selection, but I do not know how to retrieve it when working with ICollection, below the classes below. using System; using System.Collections.Generic; namespace TECNOSOL.Domain.Enti...
asked by 04.03.2018 / 17:26