Questions tagged as 'jquery'

1
answer

.not () function does not work correctly

I have the following code HTML : <div id="mini-cart" class="mini-cart dropdown is-not-empty"> <span class="ic-cart"></span> <span class="count-cart" style="display:none;"><br><br></span>...
asked by 09.04.2018 / 20:41
1
answer

JQGRID change the color of the row or data if the return is NULL or White

Would I have to condition a different color if a column is blank in GRID? Something like: if Store="", red line color $table.jqGrid({ url: url, datatype: 'json', mtype: 'GET', postData: { represe...
asked by 09.04.2018 / 19:28
1
answer

Error changing content generated within a span tag, automatically generated in Woocommerce

Trying to change the word "New!" automatically generated in woocommerce as below: <span class="label-new">New!</span> And using the jQuery snippet below <script> $(document).ready(function(){ $(".labe...
asked by 11.04.2018 / 23:09
1
answer

Change site color with jquery

Is there any way to change the color of the whole site with jquery? type, I have a website that the default color of it is purple, but only some parts, and I wanted to change those parts according to the user's choice, I wanted a way that js did...
asked by 27.03.2018 / 00:46
1
answer

How to change the size of a: before or: after dynamically with JQuery?

Does anyone know if I can change the size of a: before or: after dynamically with jquery? Ex: $('#elemento:before').css({'width':'100px'});     
asked by 26.03.2018 / 15:19
1
answer

How do I make a date filter load the data (at runtime) according to what the user is typing?

I have the screen below and as soon as the user is typing the date, the function is already loading the data. I do not know which jQuery event to use and / or if it is something more detailed.     
asked by 26.03.2018 / 21:54
1
answer

How to edit the bootstrap popup margin in css or js?

Good night everyone, I'm implementing a popover on my page, but I'm doing it inside a table that is inside a jumbotron, the problem occurs from the first 3 lines where the popover appears far from where it should appear, my intention is to figur...
asked by 09.02.2018 / 22:57
1
answer

Show a div when closing the [duplicate]

Well, I'm going to use this site as an example: link Every time you move the mouse towards the close the tab button (or just click on it - whoever you like, you can test by opening any site link in a new tab and access it by the keyboard sho...
asked by 11.02.2018 / 01:30
1
answer

Filter in Dynamic Select / Option

var escolas = ["UFSCAR", "USP"]; //var alunos = []; $(document).ready(function() { escolas.forEach(function(item) { $('select.lista-escola').append('<option>' + item + '</option>'); }); }); <script src="https:/...
asked by 01.04.2018 / 15:28
2
answers

Jquery calculation with mask and large values

After several troubleshooting steps, I'm at the bottom of a search form I'm putting together. To conclude, there are two problems: in the "Monthly Verba" column, the "toLocaleString" does not work. The result of the calculation of 90.00 x 2 gets...
asked by 14.02.2018 / 14:33