Questions tagged as 'jquery'

1
answer

Input toUpperCase correct on desktop, on mobile with duplicate error

The script below transforms all uppercase characters into an input. <input type='text' name='meuInput'> <script> $("input").bind('keyup', function (e) { if (e.which >= 97 && e.which <= 122) { var newKey =...
asked by 13.12.2017 / 18:20
1
answer

Numbers in format of cpf (JS)

I get numbers from a cpf coming from the API, then it goes to a table that I did, except that the numbers are not in the format of cpf xxx.xxx.xxx-xx and I would like it to stay, but I do not know how . You just have to click on login and go to...
asked by 14.12.2017 / 13:38
1
answer

Limit the number of fields with Jquery

I'm doing size registration on a system as follows: Itisworkingperfectly,butInowneedtolimittheinclusionofupto03Sizes,butIcannotdoit.Hereisthecode:<tableborder="0"> <tr class='linhas'> <td style="padding: 5px">&...
asked by 06.12.2017 / 21:27
1
answer

Input calculation with real-time increment button

I have a calculation of a input with a working variable. I have two buttons to increase and decrease the value of input , but when I use the buttons the calculation is not done in real time, it is only done when I click the second t...
asked by 08.12.2017 / 21:13
2
answers

Tinymce does not work with append

When I add a textarea directive in the html the tinymce works, but with the append of jquery, like this: $(".nova_questao").click(function(){ $(".questoes").append( '<div class="questao">'+ '<h4 class="h...
asked by 04.11.2017 / 15:31
2
answers

Date html with jquery

I have a question. I'm going to make jquery in charge of inserting the images depending on the width, and each image will be in the data-mobile and data-desktop. <img class="data-img" src="" data-mobile="url" data-desktop="url" /> $...
asked by 06.11.2017 / 19:34
2
answers

Hide everything but the clicked element

I have a script that does the toggle in a DIV, when the icon is clicked the div will make the toggle, the other DIVS are closed, initially I used the Jquery accordian, however it was not useful, since the kinship is broken due to a title div, pr...
asked by 08.11.2017 / 18:55
4
answers

Select all checkbox when clicking on a checkbox

I tried the solution here in the forum, however it did not work. I want to select all checkbox by clicking only 1 checkbox (select all). Here is my code:                                                            &l...
asked by 17.04.2018 / 20:17
2
answers

Date time picker

The code I have is this: $('.form_datetime').datetimepicker({ language: 'pt', format: 'yyyy-mm-dd hh:ii:ss', autoclose: true, todayBtn: true, minuteStep: 10 }); I want it when I open the modal it starts on today it is o...
asked by 01.02.2018 / 21:18
1
answer

Dynamically retrieve all GETs from the URL

I'm dynamically loading my views with ajax using: view = getUrlParameter('view') ? getUrlParameter('view') : window.location.href+="?view=newusers"; $.ajax({ method: "post", url: "views/empregador/" + view + ".php", data: { auth: 'a...
asked by 04.02.2018 / 03:36