Questions tagged as 'javascript'

1
answer

How to take a line break when the end of the margin is reached with FPDF

I am generating a PDF document with the FPDF library and I could generate it, but I really do not know how to make it jump to the next line when I reach the end of the margin. The code I have puts the elements next to each other with a...
asked by 06.02.2018 / 19:58
0
answers

cordova.plugins does not contain the installed plugins

I am creating an app with cordova. I have no problems in using most plugins, only those to which I have to access through the object cordova.plugins . For example, when I install cordova.plugins.diagnostics or cordova-plugin-request-l...
asked by 21.02.2018 / 13:36
1
answer

React.createElement: type is invalid

I'm taking a tutorial to learn React JS , everything was fine, days ago I could run an example, simple, carrying out a recommended basic configuration, plus a few more add-ons that I add to recognize the version of Javascript . T...
asked by 11.02.2018 / 23:40
0
answers

pass variable object to Modal form

I have solved it this way: From the page, I call the function and assign the content to a variable that you assign to a div. conv + = '' +                         '' +                         '' + subDiscount + '' +                 '';...
asked by 12.02.2018 / 19:38
2
answers

How to empty an input type="number" in js?

How can I empty an input type="number" in javascript. Can you use the document.innerHTML = number; or how is it done?     
asked by 19.02.2018 / 18:42
0
answers

Disadvantage with theme arming for wordpress / php

Hello, I am putting together a themes for wordpress and I have a problem with the call of some news that I have to show on the home, I attach an image of how the structure is and I attach the code of that armed. One of the problems that I have i...
asked by 19.02.2018 / 22:34
0
answers

How to upload videos in mp4 format with webpack?

My current webpack.config const webpack = require( 'webpack' ); const ExtractTextPlugin = require( 'extract-text-webpack-plugin' ); const PurifyCSSPlugin = require( 'purifycss-webpack' ); const autoprefixer = require( 'autop...
asked by 10.02.2018 / 11:13
1
answer

Bootstrap Javascript does not work

I'm doing a page with Spring (JAVA) , and Bootstrap 4.0.0 . At first I had made the calls to the bootstrap files via web link, and everything worked perfectly. Now I want to change those calls to make them using the files locally, that is, I...
asked by 09.02.2018 / 15:46
1
answer

error in yii 1 with js files

download a system that they use in the company which works well in the production server but when you download it to local all js files mark this error Uncaught SyntaxError: Invalid or unexpected token I have reviewed the url and it is ok...
asked by 31.01.2018 / 21:05
2
answers

The array sent by ajax gives me failures

Hello good, I have a problem, I pass an array by ajax with this function to a controller in laravel and its values I want to store them in a database, the problem that I have esque in when I execute the database query the system cascates a...
asked by 31.01.2018 / 19:22