Questions tagged as 'jquery'

1
answer

Apply datepicker to a dynamic input with Jquery

I have a form where multiple fields can be added with datepicker. However, when adding a new field to the form, the Jquery datepicker is not loaded. This is the JS responsible for cloning and adding fields to the form: $(document).ready(fun...
asked by 03.09.2018 / 16:13
1
answer

Get only numbers in an input that receives XX ml (example: 200ml)

I'm using Jquery's mask to automatically place the ml (milliliter) suffix in the input that gets the size of a bottle. being the id of the input #tape: var tamanho = $("#tamanho").val(); A 200 ml example will only pick up the 200...
asked by 30.12.2016 / 21:27
3
answers

Search between Jquery columns

I have a td with client code and in another td I have a list of client names with the client code Example: codigo | nomes 0001 | Anderson Silva(0002) | Minotauro (0001) | Lioto Machida(0003) I would like to kno...
asked by 12.01.2017 / 16:13
4
answers

How to put mask for Nextel in a Javascript input?

I'd like to put a mask on a <input> that expects the format Nextel : <input type="text" name="nextel"> The problem that according to site is the format of Nextel: Urban:2digitsFleet:1to7digitsID:2to5digitsEitherthe...
asked by 19.08.2016 / 16:48
1
answer

How to clear ProgressBar without using effect?

I'm making a lot of imports, and when I upload a new file I need to zero the progress, so I can set the width to 0px , but it will reset with an effect I would not want to use. Example: var progressBar = $(".progress-bar");...
asked by 22.01.2016 / 19:45
2
answers

How to select one element from another

<select class="form-control dropup bs-select-hidden" name="sys_nivel_acesso_id"> </select> <div class="btn-group bootstrap-select form-control dropup"> <button class="btn dropdown-toggle btn-default" data-toggle="dropdown"...
asked by 23.11.2015 / 19:00
2
answers

Show image and upload an input

Hello, I would like to know how to get the path of an image contained in the value of an input of type file. I'm using the following code: $(document).on("change",'#Upload',function(){ var valor=$(this).attr('value'); var ex...
asked by 07.04.2014 / 18:08
1
answer

Problems with mouseenter () and mouseleave ()

When I move the mouse in the first link with the class show_post it displays the correct div that it has to display, but when I mouse in the second link the script opens the 2 divs and not just the requested one. Follow the fiddle: link...
asked by 16.04.2014 / 20:53
1
answer

Disable keyboard in some fields

I need to make the letter f only work in text fields, in other places it does not work, eg: $(document).keyup(function(e) { if (e.keyCode == 37) { return false; } });     
asked by 20.04.2014 / 03:46
1
answer

How ajax does to identify classes

I have the following application: function atualizarPrdutos(categoria){ $.ajax({ type: "POST", url: "teste.aspx/InsertData", data: JSON.stringify({categoria:categoria }),...
asked by 30.05.2014 / 14:04