Questions tagged as 'jquery'

1
answer

Doubt on using checked="checked" in a jquery function

I have a form and wanted that when the page was loaded, if my checkbox is set, disable the "disable" property of the form. In the code example below, I put checked="checked" but it only works if I click to disable and click again to en...
asked by 11.10.2016 / 01:42
1
answer

Confusions with JSON.stringify, JSON.parse, and OBJECT.push ()

Well I'm messing with these commands, in reality what I'm wanting to do is the following. Using localStorage maintain a database. NOME TABELA | DADOS TABELA tbl_TESTE | {teste 01, teste02, teste03, ...} tbl_TESTE02 | {arroz, feijão, b...
asked by 05.05.2016 / 19:57
1
answer

Price Search / jQuery / JavaScript

I want to compare the product and the city of the table. Clicking on the  price I get the product and the city in my panel, until then ok! only that  I wanted it to click on another product to compare it  below the first comparison I made?...
asked by 06.05.2016 / 14:30
1
answer

Zoom to the selected image thumbnail in the Input file

Hello, I'm using the zoom elevate plugin to zoom in thumbnails and I'm generating the thumbnails in an input file field to display the images that the client chose to upload. I would like to take advantage of the code below to apply the zoome...
asked by 05.04.2016 / 13:59
1
answer

Take the values of two inputs, perform the calculation and display in a third input

Well, I'm developing a form that will calculate the value of the freight and discount the debits to arrive at the net amount that the Driver has to receive. But I wanted some fields to display the values as the user completes the form. For ex...
asked by 20.03.2016 / 21:18
2
answers

Validating select with jquery.validate

I am creating a form for registration where there are some selects, such as course choice and date of birth, I would like to know how do I make it mandatory for the user to select something using this library jquery.validate <select...
asked by 22.03.2016 / 14:47
2
answers

Creating masks with javascript

I need to create masks for a inputs that I have in the code, and I had already asked about it, but I think the post was outdated and then "forgotten". However what I had gotten with that post was: HTML: Within <HEAD> :...
asked by 24.03.2016 / 03:01
1
answer

Should I keep the void on the link or can I leave it blank?

I've seen some links that contain the following syntax: <a href="javascript:;" id="el" onclick="acao()"> As far as I know, in some versions of IE this causes an error, so I ask if I should correct it by doing this: <a href="java...
asked by 28.03.2016 / 14:40
1
answer

Select td based on text

I have a table where I want to select the td's that contains certain text. I've tried options like: console.log($("#minhaTabela").find("td[value='A']")); console.log($("#minhaTabela").find("td[text='A']")); console.log($("#minha...
asked by 13.04.2016 / 22:19
1
answer

Changing the css of a div with Jquery mouseover

I need that, if the mouse is not on top of a div, after 4 seconds it disappears, changing the css. How to do this with Javascript / Jquery?     
asked by 15.04.2016 / 02:14