Questions tagged as 'javascript'

2
answers

convert array to certain format

I have 2 arrays in javascript that you need to convert to a specific format, the current format of those 2 arrays is: "diavalor": [ "15", "27", "44", "63", "-1", "8",...
asked by 31.08.2018 / 04:07
1
answer

Help to run Gulp

Hi, I am creating a project with node.js and I want to run Gulp, which updates all the changes made to the code, css, server, etc., I do not know if you know how to formulate the question well and if you should show more code so they can help me...
asked by 21.05.2018 / 19:08
1
answer

How to disable a boostrap dropdown menu?

I have the following method in the start controller that directs me to the menu screen @RequestMapping(value= "/menu", method= RequestMethod.GET) public String mostrarMenu(){ return "/menu"; } this is the jsp of the menu...
asked by 04.09.2018 / 06:36
1
answer

How can I replace the JavaScript alert message by text with the error using jquery [duplicated]

I need to replace the alert by inserting the error text, and not display that text and / or delete it when there is no error in the data entered. [ $(document).ready(function() { $("button").on("click", function() {...
asked by 13.05.2018 / 18:04
1
answer

a while inside an html table

Good morning companions (here it's just 10am), to see if they can help me, because I do not know why the code does not work and I explain the code in a table I have "X" name let's say brands when I click on the brand, you must show me all the pr...
asked by 11.05.2018 / 18:11
1
answer

Create JSON from an HTML block with its attributes

I need to create a script with jquery that reads me an entire html block and get me the html tag, its attributes and its content, this must be done with the children tag, then create a json object with all the data. This what I've been testin...
asked by 10.05.2018 / 04:13
1
answer

Load translator on web page

I have a website to which I created the translation function, but I created some alternative pages which are loaded by js, it does not translate and I do not know why. These pages are cakephp templates, I really do not think that affects....
asked by 16.05.2018 / 17:32
2
answers

Calculator in javascript, subtract instead of adding

It's a simple calculator, only with javascript. Adding does it without problem, but when I want to subtract, add. var eleccion = prompt("Qué operación querés realizar? Las opciones son: Suma, Resta, Multiplicacion y Division") var prime...
asked by 27.06.2018 / 00:59
1
answer

How can I put a slider type background on my website?

I want to put a background that moves with a slider style, and that has some opacity so that the main content can be noticed perfectly, would there be a clear code way to do it? I've tried with javascript and css but nothing has worked for me...
asked by 03.07.2018 / 02:42
2
answers

Because in the console it indicates an arrangement of 3 objects, but when displaying its information, it only has 2 objects?

I have this situation: in this image I print an arrangement that as you will see it says 3 objects but when displaying its information it only has 2 objects and when crossing it effectively it returns the information of 3 objects. Which may be?...
asked by 10.10.2018 / 00:38