Questions tagged as 'jquery'

1
answer

Processing status in Ajax calls (jquery)

I have an application that communicates with the server using ajax calls with jquery. However, in some cases, the time for callback ends up being too long. I would like to know if there is a possibility of receiving information with the requisit...
asked by 25.07.2017 / 22:55
1
answer

Copying rows from one table to another with jQuery

I have the following tables: <html> <table class="table table-hover" id="tb1"> <thead> <tr> <th class="a-center" width="60">Codigo</th> <th class="a...
asked by 31.07.2017 / 14:51
3
answers

Store value of an attribute in a variable in jquery

I have this following menu : <li><a id="#nav" href="#"><i class="a glyphicon glyphicon-home"> </i><span>Inicial</span></a> </li> <li><a id="#nav" href="#"><i class="b glyphico...
asked by 25.10.2017 / 21:27
4
answers

Send PHP command via Ajax?

Is there a way to send a PHP command via Ajax? For example: $.ajax({ url: 'index.php', type: 'POST', data: '<?php echo "teste"; ?>', success: function(r) { $('body').html(r); } }); In t...
asked by 24.10.2017 / 14:38
1
answer

Is not function JQUERY

$(".add").click(function(event){ save($(this).parent().attr("id")); }); function save(docName){ var inputs = $('#' + docName + ' input'); var selects = $('#' + docName + ' select'); var obj; console.log(inputs); for (let i = 0; i <...
asked by 16.05.2017 / 01:58
1
answer

Manipulating list element with Jquery

I would like a tip to make when clicking the list, it waves the correct question and nods wrong, or just right if the person has hit, <div class="container"> <div class="row"> <div class="col-sm-12"> <h2>Simulado...
asked by 04.10.2017 / 05:10
1
answer

JS How to auto-fill an input with JavaScript?

Hello I need to make a button that when it clicks it automatically fills in the input fields. HTML <button type="button" id="botao">Auto</button> <input type="text" id="nome"> <input type="text" id="sobrenome">...
asked by 04.08.2017 / 02:56
3
answers

Verify that the date range between two input's is less than one month and apply a condition

I have two input's one for start date and one for end date, I need to create a condition in javascript (jquery) if the interval is less than a month, eg: I'll disable a button if the interval is less than 1 month. Follow my current cod...
asked by 05.04.2017 / 18:54
3
answers

How to focus on a row by the contents of a td column?

I created a function to give focus in line of a table , in this function I have to find the cell with the same values that I will pass by parameter. She wished that when she found the line she was looking for, she would just evidenc...
asked by 27.03.2017 / 15:49
2
answers

Date mask with time

How do I make a Mask for an input text with the format xx / xx / xxxx xx: xx: xx using angular? It would be the day, month, year, hour, minute and seconds. <div class="form-group filtro"> <label class="" for="endDate">Data de...
asked by 18.07.2017 / 15:29