Questions tagged as 'javascript'

1
answer

I'm having trouble with webpack 404 "can not get". What can it be?

Here my config: var path = require('path'); const webpack = require('webpack'); const publicPath = '/dist/assets/'; module.exports = { entry: './src/index.js', devtool: 'cheap-module-source-map', plugins: [ new webpack.HotModu...
asked by 27.07.2017 / 15:16
0
answers

Group elements based on values

JSON: var obj = { 'itemA' : { 'x' : '300', 'y' : '200' }, 'itemB' : { 'x' : '305', 'y' : '210' }, 'itemC' : { 'x' : '442', 'y' : '210' } }; What I need to do is pick up...
asked by 21.02.2017 / 21:50
0
answers

How to receive an array in the body of a nodejs route

Good morning everyone. I am facing a great difficulty. I started a week of studies on nodeJS, so I'm pretty noob. I have a code that returns an object in json format for me and I would like to create a page that Body would receive this. howev...
asked by 27.07.2017 / 14:32
0
answers

Always display the chart caption

I would like all subtitles already to be opened the same as where it is marked with red     
asked by 26.07.2017 / 23:01
1
answer

Overlay the arrow to return to the top about videos, images, etc.

I can not override the arrow to get back to the top that is fixed on my page . Whenever you go through images, videos and some applications that use JavaScript, it disappears. I would like to know if there are any specific solutions. I...
asked by 26.07.2017 / 23:02
1
answer

TCPDF how to redirect the page if the code is invalid?

I am making a print report with TCPDF, but I am experiencing some difficulties in redirecting if the code is invalid. see the following code: if(isset($_GET['CODIGO']) AND $_GET['CODIGO'] != ''){ $html = ''; $item = 1;...
asked by 15.03.2017 / 20:11
0
answers

Conversion of the Delphi EnCrypta function to JavaScript

I have a problem converting this function, I would like someone to help me Delphi code function EnCripta(const InString:string; StartKey,MultKey,AddKey:Integer): string; var I : Byte; begin Result := ''; for I := 1 to Length(InStrin...
asked by 17.02.2017 / 19:13
0
answers

Problem removing / adding class in Javascript

I'm trying to make a button remove or add a class in the body, however it's giving the following error when clicking the "Uncaught TypeError: Can not read property 'classList' of null" var body = document.querySelector('div.single-news'); var b...
asked by 18.02.2017 / 06:46
1
answer

Call functions / procedure via buttons using Object Oriented PHP

I'm starting in PHP O.O and I'm having a hard time calling functions that are in the class via HTML buttons. In fact, it is not in calling but in setting the values that are in the function. Example: <?php Class Conta{ public $saldo;...
asked by 18.02.2017 / 03:19
1
answer

Problems with navbar

I'm a beginner on web and I'm developing an application in HTML5, where I use Bootstrap. There is a navbar at the top of the page and on the navbar there is a list. But when performing the implementation, the options in the list are overlapped,...
asked by 03.03.2017 / 21:55