Questions tagged as 'javascript'

2
answers

Add HTML from JavaScript

I'm doing a web app with jsp, I try to display likes the same way Facebook does in a modal window, so far I've managed to pass the list of those who have given like an object but now I do not know how to display the attributes of that object....
asked by 29.07.2016 / 17:56
1
answer

Changing value of global variables in JavaScript

I'm doing a Javascript script and I find something I do not understand. I have created a series of functions. Out of them I have declared (empty) some variables that I understand as being declared global and that will take the value of inside...
asked by 22.02.2016 / 18:31
1
answer

Edit text saved in tinymce?

I try to understand how it is possible to obtain the content I keep from the tinymce editor, and then edit it when I re-enter the data, try the basics in terms of code, save the information and display it correctly in other pages, but I can not...
asked by 07.08.2016 / 00:40
1
answer

dropzonejs and wait time to upload a photo

I am using dropzone and I have the following code: <form class="dropzone dz-clickable dz-started" method="post" action="comprueba.php" enctype="multipart/form-data"> <div id="footdrop"> <input style="visibility: hidden; position...
asked by 22.04.2016 / 16:39
1
answer

Financial markets [closed]

I am doing an application on financial markets that is, to buy and sell shares, etc. The problem is that I can not find a way to recover data from the actions (price, variation in%, etc.) and to update them automatically (what I've seen they rec...
asked by 10.02.2016 / 20:18
1
answer

Why is the active class not added?

I have this menu <section class="menu"> <nav class="navbar navbar-expand-lg navbar-light"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="n...
asked by 05.01.2019 / 18:04
1
answer

Get the amount of array json type

I need to traverse N json type arrangements with the jquery library plus these must be filled in an input that is in a table, someone has some idea of how I can my current code works perfectly only if a single fix is returned . HTML code...
asked by 05.01.2019 / 17:59
1
answer

how can I add an if with a button

hi I try to change the value with a button that is already predetermined, I've been trying with an if and with a function of some condition suggène <html> <head> <meta charset="UTF-8"/> <title>prueba<...
asked by 02.01.2019 / 21:45
0
answers

how to save selected checkbox in array, with angular 6

I have several checkboxes as follows: ts: sectores = [{ sector: "Turismo" }, { sector: "Publico" }, { sector: "Privado" }, { sector: 'Taxis' },{sector:"Carga"},{sector:"Empresarial"}] html: <div class="form-group">...
asked by 02.01.2019 / 21:39
0
answers

Match user Schema with Client Schema on mongoose

good I am new working with node, and I am creating a user schema but I also have a client schema, and administrator, in the client schema (I leave the code below) I have the basic data like name, surname .. etc, and in the user's I have the emai...
asked by 02.01.2019 / 17:42