Questions tagged as 'javascript'

1
answer

React, why use props in the constructor?

Hello, I have a question about reactjs, why should I use props inside the constructor and the props? constructor(props){super(props)} Why do not you use props in the constructor? Why not use props? Why use super? Thanks for the help.   ...
asked by 29.12.2018 / 19:11
1
answer

How can I run Javascript (most current possible) in C #?

First I tried to run with a control WebBrowser WebBrowser webBrowser1 = new WebBrowser(); webBrowser1.Visible = false; webBrowser1.Navigate("about:blank"); webBrowser1.Document.Write("<html><head></head><body>&...
asked by 22.12.2013 / 01:21
0
answers

SheetJS, excel to mysql database

I am trying to extract from an excel all the data to insert into a mysql table. Running the example given in github, returns me an error, require is not define. link Is there a more correct way to do this?     
asked by 03.01.2019 / 11:25
0
answers

Doubt - JavaScript [closed]

I need to get the value of the text box and put it in a global variable. How do I do this?     
asked by 15.08.2018 / 02:07
1
answer

How to do script access control with JekyllCMS

I'm using JekyllCMS to develop a Content Management System (CMS), but as I do not know it very well and even after reading the documentation, I find it hard to "hide" some of the data I use in JavaScript . There are two cases:% of the Graph...
asked by 11.03.2014 / 07:53
1
answer

Updating the size of the fancybox dynamically

Hello, I need to resize the size of a fancy box dynamically from a onClick event that will show other components on the page. I tried to use the following code snippet found here , and this resizes the page but gives the following...
asked by 20.03.2014 / 16:00
0
answers

Cookies limit javascript

I have a javascript code that loads cookies into an html page. Every 15 seconds a function is activated, and this SAVE new information in 5 cookies, and makes the LOAD of 5 cookies for various variables. The question is is there a limit on cooki...
asked by 14.06.2018 / 21:53
2
answers

What does the three dots mean ... before document.querySelectorAll [duplicate]

In the following code, which means the three dots that precede document.querySelectorAll const [marcas, valor] = [...document.querySelectorAll('input.classNew')]; marcas.addEventListener('keyup', function() { //codigo }    I...
asked by 18.07.2018 / 15:39
1
answer

Automatic slider with 5 columns how to do?

I'm trying to make an automatic slider in this style, but it's not working. <section class="mbr-section" id="equipe" style="background-color: rgb(204, 204, 204); padding-top: 120px; padding-bottom: 120px;"> <div...
asked by 06.07.2018 / 21:32
1
answer

Datatable slow loading many results

I have a database with about 500 records with system requests, but I need to display those records in the DataTable for better organization and search. When loading the page it takes a long time to display the data in the DataTable. PHP:...
asked by 07.06.2018 / 15:16