Questions tagged as 'jquery'

4
answers

How to add values from a column in the table?

I have the following table below: <table class="table table-bordered table-hover" id="customFields"> <thead> <tr> </tr> <tr> <th width="20%">ID</th> <th width="75...
asked by 23.06.2017 / 20:35
1
answer

Is this code snippet jQuery? And what does he do? [closed]

The code snippet below: <script type='text/javascript'> $('#menu #<? echo $idMenuAtivo; ?>').addClass('active'); </script> Is it written in jQuery or JavaScript? And what does it do?     
asked by 01.08.2017 / 20:20
3
answers

input only numbers with jquery

I have a function that validates the characters entered and does not let the user use special characters but this same function does not work for numbers, someone knows some function in jquery to validate only numbers in the input function sem...
asked by 01.03.2017 / 15:53
3
answers

Page refresh after time

I made a page to sample data in real time, and I need to update in real time after 3 minutes. I tried this code: $(function() { setTimeout(function(){ location.reload(); }, 180000); }); No results. I do not know if I need to use...
asked by 25.01.2017 / 20:01
4
answers

Performing Jquery Percentage Calculation

Good afternoon guys. I have a field with readonly value. This field is already populated with data from my bank. I have another field, where I will enter the percentage value. How do I make the value of the result appear in the other fi...
asked by 18.11.2016 / 18:24
3
answers

Removing characters with Jquery

Is it possible to remove a specific character with jquery? I'm trying to remove the character '' character ball that is in the database of a site I'm reshaping. That is, I have access to all HTMLs and CSSs less than content. So my list already h...
asked by 20.01.2015 / 18:56
3
answers

How to perform replace on all attributes using jQuery / JavaScript?

I want to replace all occurrences that have __prefix__ with a number, how to accomplish this using jQuery / JavaScript? HTML <div class='form-modelo'> <input id="id_form-__prefix__-nome" name="form-__prefix__-nome" typ...
asked by 26.03.2015 / 17:16
3
answers

Add or Remove Class from a DIV when clicking

Hello everyone, I'm trying to make sure that when I press 1x in the ".PA" packages, it will make the changes: add class .select CSS: #bottaaoPA: Display: Block; CSS: bottaaoPB: Display: None; CSS: bottaaoPC: Display: None; And whe...
asked by 25.01.2016 / 17:27
2
answers

How to put the background effect fixed and the whole screen? [duplicate]

I'm new to the Frond-End programmer and my boss wants me to put a fixed background effect as shown in the template below; link I've done some research to know how to implement, the problem is that I do not know what the name of this ty...
asked by 27.11.2015 / 13:17
4
answers

How to do strstr () in jquery

Is there any way to do strstr () (which exists in php) in jQuery? Do I need to create a function? I want to be checked for the exact string I'm passing in another string, for example: if(strstr("abc", "abcdefgh")){ ... }     
asked by 05.11.2014 / 14:40