Questions tagged as 'javascript'

2
answers

Problem with accents in vue-json-excel

I'm using vue-json-excel to export an Excel spreadsheet (I have the table on my screen and use it to export the same data to excel). So far, everything works perfectly, however, I had problems with accentuations. Example, não , a...
asked by 27.09.2017 / 20:59
1
answer

Scroll according to clicked element

I have a list of links , example: <ul class="todos-links"> <li> <a href="#alvo1"> Alvo1 </a> <li> <li> <a href="#alvo2"> Alvo2 </a> </li> <li> <a href="#al...
asked by 06.03.2018 / 16:04
3
answers

My input checkbox does not come with JavaScript

What I want to do with checkbox , is the same as radio does using JavaScript . Why do not I just use radio ? It's because if radio is checked, there's no way I can leave it unchecked. I know the logic in JavaS...
asked by 05.03.2018 / 20:36
3
answers

Press button and "CURSOR / or ANYTHING" appears until operation is finished

I have the following code in javascript and ajax: function marcar_consulta(id_paciente,id_horario, data_consulta ) { $.ajax ({ type:'post', url:'insert_consulta.php', data:{marcar_consul...
asked by 26.09.2017 / 17:56
1
answer

Pass files by ajax

I'm creating the product registration form for a website, and in it, all forms are submitted by ajax to an api. The problem is that in this particular form I need to send images to the server. I'm trying to use the FormData object for sending, b...
asked by 25.09.2017 / 01:57
1
answer

HighCharts: Visible does not work

I'm trying to remove oo xAxis with visible: false as shown in documentation , but it is not working. The version of JQuery is: v1.10.2 (2013-07-03) . The Highcharts version is: v4.0.3 (2014-07-03) Excerpt from my chart JS code:...
asked by 26.09.2017 / 16:30
2
answers

CSS and JScript - Resize image onClick

Good afternoon !! Home I'm trying to run the following code however I'm not aware how to resize the image to the size of the div, so it cuts the image and takes only the center :( Can you help me?? function clickImagem(src) { $('#con...
asked by 26.09.2017 / 19:13
2
answers

Save after hiding a div

I use a Jquery code to hide a div, and I would like that when I click the close button it will save and prevent it from being displayed again to the user when the page is reloaded. $(document).ready(function() { $(".info-game--remove")...
asked by 21.11.2017 / 16:50
3
answers

Changing position of several DIVS with same selector in Jquery

I have a page that contains several structures with the same selector, such as: <div class="preco"> R$ 69,90 </div> <div class="preco-a-vista"> R$ 50,00 </div> As I mentioned, the above structure repeats several tim...
asked by 25.06.2018 / 03:17
3
answers

How to do when checking a checkbox it changes the background color of a table from a td and when descending it returns to its normal color

Well, I have this code, and it works in parts, when I check the box it changes the color of my td, but when I unknow the color does not return to normal, could anyone help me? Thanks in advance. $('.checkbox-regularC').click(function(){...
asked by 22.06.2018 / 22:05