Questions tagged as 'javascript'

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

Create action on an html button

I'm new to web development and came across the following problem. I have an input text and a button in html and I need to create an action that when clicking the button, a function is called and in the function, I will make the necessary manipul...
asked by 20.09.2017 / 13:20
1
answer

WebPack + NodeJS import bootstrap + jquery

Hello, everyone at Stackoverflow, I have a VueJS project already with Webpack. And I've been importing the JQuery and Bootstrap libraries. I went to my node and used the commands npm install jquery --save-dev npm install bootstrap --save-de...
asked by 20.09.2017 / 15:56
1
answer

Synchronize animation of elements when inserting in DOM

Is it possible to insert an animated element in DOM synchronously? that is, when entering the current state is maintained and not reset as in the example below ... function add() { let ctn = document.getElementById('ctn');...
asked by 01.04.2018 / 23:44
3
answers

Effect 100% above the Carousel

I need to put an overlay effect on top of a Carousel of the bootstrap, but that takes all the height of it. Clarifying better ... the first time I worked in this style - not in this section I sent - through some modifications I even managed t...
asked by 30.03.2018 / 22:21
1
answer

Uncaught SyntaxError: Unexpected token in JSON at position 0

In my html I'm using a Javascript to try to retrieve a saved Json object in the localStorage. I'm using Google Chrome. First I get the value of the "name" attribute of my Json object that is in the localStorage, via form, and then execute the...
asked by 23.04.2018 / 03:41
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

Define variables to call a function

I'm trying to include variables to call a function, but I'm not getting it function Geral() { xmlHttp=GetXmlHttpObject(); var url="pagina.asp?a=1"; xmlHttp.onreadystatechange=stateChanged; xmlHttp.open("GET",url,true); xm...
asked by 26.10.2017 / 17:43
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