Questions tagged as 'javascript'

1
answer

Count the input [] in javascripts

I have the following code where I create input [] with a button but I want to calculate the total input added for that value multiply it in another function in javascripts <script src="https://ajax.googleapis.com/ajax/libs/jquery/3....
asked by 18.07.2018 / 21:29
1
answer

Error saving a JavaScript promise in a variable

How can I save a value of a promise in javascript already tried with this function loadImage(url){ return new Promise((resolve, reject) => { const image = new Image(); image.addEventListener('load', () => {...
asked by 18.07.2018 / 04:31
1
answer

Myslqi query of two tables with sum of records

Good to have if I can explain everything; I have two tables in the BD: productos +----+----------+--------+ | id | producto | estado | +----+----------+--------+ | | | | | | | | +----+----------+...
asked by 20.08.2018 / 09:08
1
answer

Box-shadow does not work as expected for large values in Safari

I am developing a small library / plugin in JavaScript that serves to highlight different parts of a page (with the intention of creating instructions or similar). But I'm encountering some problems, especially with Safari. For the highlight...
asked by 16.08.2018 / 18:37
1
answer

Obtain html content with inputs and their written values

I have an inconvenience. I am trying to dynamically generate a cell with a button with Inputs with a button. My drawback is that after filling the first row and generate one more I put the one that had already filled but the new emp...
asked by 13.08.2018 / 17:14
1
answer

How do I open a page created with javascript?

I was writing a plugin for firefox in which I generate an html with the page in which the plugin acts and I want to show my html generated in another new page, what I have tried has a form quite similar to the following: function crearHTML(){...
asked by 22.06.2018 / 22:28
1
answer

Convert Object to multipart document (multipartFile) - Download and upload files

Hello, I have this require of parameters in the backend of my application @RequestMapping(method = RequestMethod.POST, path = "/skills/excel") public ResponseEntity<?> loadExcelSkills(@RequestParam MultipartFile file) throws Encrypte...
asked by 14.06.2018 / 11:28
1
answer

How to choose a color / css

How can I select a color with gray border? .color-picker { font-size: 0; } .color-picker__item { display: inline-block; } .color-picker__item + .color-picker__item { margin-left: 10px; } .color-picker__item:hover { curs...
asked by 26.06.2018 / 14:14
1
answer

Jquery: ReferenceError: $ is not defined [closed]

The browser returns the error: ReferenceError: $ is not defined with the following script. $(document).ready(function(){ (function($) { "use strict"; jQuery.validator.addMethod('answercheck', function (value, el...
asked by 26.06.2018 / 09:25
1
answer

See months of the Javascript calendar

I'm trying to make a calendar like this web: link what instead of the months they appear to me vertically, I would like four months to appear for each line, in plan January-February-March-April and then 4 more and so ... The step I'm going...
asked by 25.06.2018 / 18:19