Questions tagged as 'javascript'

1
answer

Pass and Remove Value of Checkboxes to input

They could help me, I have 3 checkboxes and an input. By clicking on the checks, pass the value to the input, until then everything is fine. What I need is that when a check is unchecked only that value that passed to the input is deleted....
asked by 22.11.2018 / 17:16
2
answers

Problem with javascript and forms

I have a problem with this code, the idea would be that when I click on the "submit" button, it shows me the data loaded in the form below <!-- Formulario --> <div class="formulario"> <h1> Tienda offline </h1>...
asked by 13.12.2018 / 04:18
1
answer

Get the name of a promise - async

I understand that if you have a function you can get the name with the property name and if it is a class you can get the name prototype.name but as I get the name of a promise, the problem is as follows I have several functions ty...
asked by 12.12.2018 / 14:29
2
answers

Delete the selected row from a Material Design Lite dialog

I have this example table made with material design lite . The last column of the table has a CLEAR button that when pressed must show a dialog box where the option to delete the selected row is given. Right now this is my code. It s...
asked by 09.02.2016 / 17:55
2
answers

Any alternative for req.files in NodeJS v0.12.5?

I need to upload a file CSV to later save it in the database, this with angularjs and nodejs , but due to project restrictions we are using NodeJS v0.12.5 and does not support req.files Do you know any alternative or w...
asked by 02.02.2016 / 18:29
2
answers

Remove the last word of a string jquery or javascript

Good morning I have the following text string in a variable cad = "perro AND gato AND pajaro AND vaca AND" Since the string is created automatically, it always adds the AND when concatenating a new element, but to show it, it must be withou...
asked by 16.11.2018 / 17:18
1
answer

How to get classes that are not repeated from a Nodelist?

Hi, I would like to know how I can with PURO Javascript to obtain names of CSS classes and be able to show them in the console without repeating names from a list of nodes where I obtain the elements looking for the first class. Elements with cl...
asked by 17.11.2018 / 17:44
2
answers

Error handling in Angular

I have this code for a token , generated with JWT , then I return it to the application if the user accessed it correctly. var token = $localStorage.token; var base64Url = token.split('.')[1]; var base64 = base64Url.replace('-', '+').re...
asked by 18.02.2016 / 17:15
1
answer

Enlarge Image when clicking

Cordial Greeting, I hope you can help me with what I'm trying to do. What I do is, I have an input of type file <input type"file"> and what it does is load an image and show the preview of the img, until here we go well, what...
asked by 16.11.2018 / 18:02
1
answer

Doubts about Error in javaScript,

I am currently working with entity framework and ajax, I have a method in ajax that returns a list that I can load in a table and when I want to choose some item in particular I click on the row and this data loads them in form, general I charge...
asked by 16.11.2018 / 16:12