Questions tagged as 'jquery'

2
answers

Inputs value of a form

I'm developing a form with javascript / jquery in which from one question to another it goes to another page and on the last page I have to see all the data typed in the previous questions, I've already tried with serializearray (), but it just...
asked by 08.05.2018 / 21:04
1
answer

How to create shortcuts with JavaScript

The script that follows should allow the user to type the combination ALT + C where it would open a prompt and then enter a code to redirect to the page according to the numerical code informed. Script opens the browser prompt window and makes t...
asked by 01.06.2018 / 17:10
2
answers

What's wrong with this query?

Right, I'm trying to do a select in a database via ajax using jQuery. Here are some excerpts from the code I'm using and more explanations: Ajax function function carregaRegistros(dia, mes, ano) { dia = parseInt(dia); mes = parse...
asked by 01.06.2018 / 20:39
1
answer

Validation if any form input was changed

I need to check if the form has changed, ie if some input data has changed, etc. So that when you do submit , or leave the page, make some button click, or the menu is informed to the user that the data has been changed, and that have not...
asked by 24.09.2018 / 16:47
1
answer

How to change text in an html table according to the result

I'm doing a table in html and wanted to change all the texts according to a result. Eg: If the table says 1 means it is in use, then make the change and replace the number 1 and put it to use, and if it is set to 0 it becomes available. Th...
asked by 17.04.2018 / 21:55
1
answer

Would someone have a solution to turn "checkbox" into "radio"

I have a Jquery code along with Js, because I want to turn checkbox into a radio, this code works with radios, with just one click in the same place it unmark the radio if it is checked, and if the user clicks another it unchecks the previous on...
asked by 24.05.2018 / 00:05
1
answer

Replicate phone mask in multiple fields

I have a form where the user who is filling in can include multiple cell numbers, but my mask function only works on the first field. var telMask = ['(99) 9999-99999', '(99) 99999-9999']; var tel_1 = document.querySelector('#celular'); VMasker...
asked by 05.04.2018 / 16:06
2
answers

Hide checkbox and display another

I made a small validation in my script, but I'm not able to do the following validation. I have 2 checkboxes, each executes an action, as you can see in my if below. @if (item.Cadeado == 1 && item.cadeadoAH == 1) { <inpu...
asked by 28.03.2018 / 20:48
1
answer

Change text that appears before span

I want to change text that appears before a span with JQuery, this text will change when a user renames a folder. <li> <a href="#"> Pasta 1 <span class="tag tag-pill tag-danger" id="spanPasta1">0</span> &l...
asked by 27.03.2018 / 08:12
1
answer

Hide div on specific pages with jquery [closed]

Good morning, I have a problem to hide a div only on a specific page, in case it has a php file with include_once that includes header pages, but it has a specific page that does not need a div that is inside the header and I want hide, how c...
asked by 11.04.2018 / 15:51