Questions tagged as 'jquery'

2
answers

Store a select array in a variable js

I need to run several select and store their value in an array with jQuery, but I can not. How can I do this?     
asked by 26.08.2017 / 03:03
2
answers

How popular a select with JQuery

I have a registration screen where the user can add or not phone numbers. I am adding fields to insert the phone dynamically, but one of these fields is a select that will bring data from the database. My jquery is hitting the controller and it...
asked by 23.08.2017 / 22:37
1
answer

First Child is not selected

I have the following code that generates a dynamic slider , but the first-child property does not work. What is the problem? var elementoSlider = $('#dados-slider'); var mostraImagem = ""; var mostraDadosImagem = ""; $('ul.slider li:fi...
asked by 23.08.2017 / 20:44
2
answers

Go to anchor before page load

I have a page that every time I refresh, it returns to the top after full loading. However, I have a second page that has a link as follows: index.html#empresa , I would like it to stop, "regardless" of your upload, in the company ancho...
asked by 28.08.2017 / 15:41
1
answer

Difficulty in using timepicker

I'm having a hard time implementing timepicker on my system.    TheusermustselectatimeinadropdownlistandthistimewillbeusedtobetheminTimeof timepicker . For example, the user selects 01:00:00 and this will be minTime and by default...
asked by 28.08.2017 / 02:27
0
answers

How to block special characters from a "paste"?

I have the following problem, there is a validation being done this way: $(document).ready(function(){ $(this).on("paste", "#email", function(event) { var $obj = $(this); setTimeout(function() { var str = $obj.val()...
asked by 21.08.2017 / 22:26
1
answer

Create a filter using Jquery

I'm doing a filter in jquery but I'm wrong in my logic somewhere and I can not seem to get out of the way. My filter is not fading with some words that I type, it brings me the whole block, even the typed word not being in the item. I'm having t...
asked by 22.08.2017 / 14:07
1
answer

Disable submit function when error message appears

How do I "lock" or "disable" the form button when the error message appears? Input <input style="height:24px;" name="email" id="email" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Email'))...
asked by 21.08.2017 / 21:33
3
answers

Jquery calculation of centimeters with result in currency

I am breaking my head to try to make the code below understand that the value of the DIV must be respected the comma (Ex .: 1.20cm) in which it would be: div1 (in centimeters) X div2 (in centimeters) = RESULT1 RESULT1 X 140 (square meter v...
asked by 12.08.2017 / 04:20
0
answers

Do not repeat javascript protocol number [closed]

I would like you not to repeat the values, and in the click show the code already without repetition var vetor = []; var auxiliaProtocolo = document.querySelector(".type"); var limiteMaximo = CheckMaxProtocol(); var botao = document.querySelec...
asked by 11.08.2017 / 21:10