Questions tagged as 'jquery'

1
answer

How to put a scroll in the flap system

I'm setting up a flap system, it's running 100%. The problem is when I open it on a mobile screen it has to scroll the tabs of the tab, just like the Android system. Could anyone help me? $(document).ready(function () { $('.tab-con...
asked by 21.12.2016 / 19:39
1
answer

How to trigger a trigger with jquery?

I'm working with a radio button and I can not trigger a trigger. Can anyone help me solve it? $("input[name='estimate_method']").on('change', function() { $(this).prop("checked", true); $("input[name='do']").trigger("click"); });...
asked by 26.09.2016 / 22:33
1
answer

Search first Element inside another Element if it exists in jQuery

I have a problem finding an Element inside Another and checking if it is the first element, see the structure: <div class="form-group"> <input type="text" id="teste1" placeholder="Texto"> <label for="teste1">Texto</lab...
asked by 07.09.2016 / 15:03
2
answers

Destroy AngularJS function

I have a page in my project that contains several categories and in each category, it has a Flexslider with the images. Each category is displayed once and clicking another one, the previous one is hidden and the one clicked appears, a scheme si...
asked by 08.09.2016 / 13:27
2
answers

Regex in javascript

How would a regex be to get only numbers and / in a string. Example: Start date: 08/29/2016 Results: 08/29/2016     
asked by 07.09.2016 / 21:32
2
answers

Problems with jQuery print function

Galera I put a code in jQuery to make some changes to my layout by hiding some div and printing the page. It works fine, however I'm having the following problem. When I have an image on my page, the system prints before loading images. How d...
asked by 13.09.2016 / 22:33
2
answers

How to identify the end of the monitor with jquery

I'm putting together a Tooltip using jquery. It is 100% working, the problem is that when I put it on the right side of the monitor it does not appear. How do I make it identify if it has space? And if it does not have it open it on the left sid...
asked by 02.12.2016 / 12:15
1
answer

How to create pattern with jQuery Validation Plugin?

I need to create a input mask (pattern) for the CPF type 000.000.000-00 and for CNPJ 00.000.000 / 0000-00 via the jQuery Validation plugin. What would be the regex to be creating this validation? Note: CPF and CNPJ will be two differe...
asked by 01.12.2016 / 19:32
1
answer

ajax post with dynamic input

I have a form with a input that is created dynamically, as follows: <tr class="linhas"> <td align="right">Inicio:</td> <td align="left"><input name="inicio[]" class="dat...
asked by 31.08.2016 / 03:34
1
answer

Convert String from a div to int and do a math operation

I'm trying to do the following function: <span id="our_price_display">R$ 71,90</span> function calculaParcela(){ var regex = /\d+,\d+/g; var texto = $(".our_price_display").text(); //id da div com o texto R$ 71,90...
asked by 24.11.2016 / 20:56