Questions tagged as 'jquery'

1
answer

Generate .xls file with column omission

I have a table with 5 columns, considering that the first one has a selection box and the last one has a button to delete that particular line. The question is that I want to export to Excel, in a file .xsl , but without the first and l...
asked by 21.09.2017 / 21:37
1
answer

I need to change the border color of a cell in the datatable

I need every cell in the first column of the datatable to change color as the table is scaled. The color will be set as the table data is generated in the backend. Here is an example of how I need to: OntheleftedgeofthefirstcolumnIneedtod...
asked by 31.03.2018 / 03:03
1
answer

Scroll-based loading bar

Hello I'd like to know, if someone has already done or seen on some site, a horizontal bar at the top of the site, example the youtube upload bar, however it increases and reaches 100% when it is rolled to the bottom of the page , as the scro...
asked by 20.04.2018 / 17:28
1
answer

Add a class in a div based on the temporary class of another

I'm using lazyload for a project, it loads images progressively. link When the images are loading, the "loading" class becomes active in the <img class="loading">...</img> and when you finish loading, the loading cl...
asked by 28.10.2017 / 15:59
3
answers

Uncheck chain checkbox

I have a checkbox option that when active, shows a second check. I need to make sure the second checkbox is only active if the first one is. My function shows and hides the second check according to the value of the first one, but I need it also...
asked by 25.10.2017 / 19:48
1
answer

Validate select with jQuery Validator

I have a select like this: <form action="" id="form"> <select name="unidadeNegocio[]" id="unidadeNegocio" multiple="multiple" > <option> A </option> <option> B </option> <optio...
asked by 25.10.2017 / 15:05
1
answer

Toggle icon with JQuery

<span class="col-sm-1 text-center"> <i class="taskIcon glyphicon glyphicon-chevron-down" data-toggle="collapse" data-parent="#accordion" href="#collapse1"></i> </span> $(“.taskIcon”).on(“click”,function (){ $(thi...
asked by 28.10.2017 / 00:19
1
answer

Cookies with cURL help

I need to access a certain URL and load the file 'cookies.txt' the problem is the following I access the URL normally plus the Cookies.txt does not load ... I think the problem is here in this part $cookiepattern = "#Set-Cookie:\s+(?<coo...
asked by 05.10.2017 / 04:53
2
answers

Change image by clicking on it (JS, jQUERY)

I want to click on an image, and when I click on it, it will pull an api and I want the image to change to another, but I can not change the image. Note: the API is working, I just need to know how to change the photo when I click on it.    ...
asked by 13.10.2017 / 18:58
3
answers

How to remove a TR element from a list created with append?

[SOLVED STAFF] var precoFinal = 0; // função botão para adicionar um produto a um pedido $('#botao').on('click', function(event){ event.preventDefault(); var codigo = $('#inputCodigo')...
asked by 20.12.2017 / 14:46