Questions tagged as 'javascript'

2
answers

Dynamic table with td and tr selectable

I have a form where there is an input'search '; that at the time of writing the name, it finds the coincidences and displays the information of the possible clients that I am looking for. the matter begins that when selecting the row I have to c...
asked by 19.07.2018 / 23:22
1
answer

Put contenteditable to all TD except the last ones

I have a table of 5 columns, with information, the last column is of actions (Edit, delete, etc). I'm trying to click on an edit icon to enable text editing of all the TDs in the same row except for the last one, since it is a cell of tools, how...
asked by 25.09.2018 / 19:02
1
answer

Obtain the client's IP in Node.js

I need to obtain the IP address of the person who consumes the API I am working with, this is the code I am using: app.post('/api/v1',(req,res) =>{ ConnectTelnet(); var ip = req.connection.remoteAddress; console.log(ip); }) But th...
asked by 24.09.2018 / 22:23
2
answers

Check full fields jquery

I am trying to do a 2 input text check and when the keyup is executed, even if only the input name is filled, it enters the else and the IF is not fulfilled. JS $( document ).ready(function() { $("#formulario input").keyup(function() {...
asked by 01.10.2018 / 17:09
1
answer

Delete an item created dynamically with jquery

I have a form and I want to delete the elements created in each time a new element is added dynamically using jQuery Validation Plugin v1.16 // only for demo purposes $.validator.setDefaults({ submitHandler: function() { /...
asked by 30.09.2018 / 05:15
1
answer

Scroll JSON array and fill select dynamically

I am trying to fill <select> from the data stored in a JSON array. My code is as follows: applications = { "apps": [ { "app":"app_uno", "buzon":"buzon_uno" }, { "app":"app_dos", "buzon":"buzón_dos" } ] };...
asked by 07.07.2018 / 14:22
1
answer

Arrow Functions in (IE) Internet Explorer 11

I have AngularJS (1.5.5) and doing testing, the arrow functions do not work in Internet Explorer 11, I have the following code: return availability.price && availability.options.filter(x => x.leadTime >= 0).length > 0; And...
asked by 27.07.2018 / 02:03
1
answer

favorite system without database

I want to make a bookmark button, like a heart or something ... the issue is that I did not want to use a database and I found a code that works and I like it but when it exits and re-enters it restarts and deletes the data: var likes =0...
asked by 20.05.2018 / 17:34
2
answers

Every word within a div

I am implementing a spellcheker (corrector of words), I have a container where each new written word is placed in a new div, instead of placing it as ordinary text. I am putting every word on a div, so that word suggestions are displayed, is...
asked by 25.06.2018 / 02:55
2
answers

Function of javaScrip does not work the second time I click

I'm starting in web development, but I have a small inconvenience, I have a small scrip that returns the system date by clicking on a button but by erasing the data from the text box where it rests and click a second time to return to bring the...
asked by 29.06.2018 / 12:29