Questions tagged as 'javascript'

2
answers

restart table when closing modal

I have this code var d = ""; $("#bntParametro").click(function () { var ajaxParam = null; ajaxParam = $.ajax({ type: "POST", url: "sendTophp/consultarParametros.php", }).done(function (param)...
asked by 27.09.2018 / 19:00
5
answers

removeClass JQUERY does not work

I'm using ASP.NET to make a form, but I need to remove the class disable , I'm using JQUERY , and I need to remove it to several labels that make up my object, but I'm not having much success. The objects that I want to affect are...
asked by 08.06.2018 / 18:15
2
answers

Update nodeJS file without stopping restart

Will there be a way to update a file and see the changes in real time? example    I have a file server.js and I modify it. How do I see the result without stopping the service and restart it with node server.js ?     
asked by 16.02.2018 / 01:03
2
answers

Delete event associated with an anonymous function

I have the following function that associates events with a series of elements: function colorCeldasActivo(color) { //Damos eventos a todas las celdas var celdas = document.getElementsByClassName("celdadibujo"); for (var i = 0; i &l...
asked by 09.02.2018 / 04:40
3
answers

Mark checkbox with a jquery button

Hello greetings to all my friends. I have a little question. I want to select progressively the checkboxes that appear in the image when I press a button. For example, pressing the button selects the first checkbox, if you press it again, the...
asked by 31.10.2018 / 19:43
2
answers

How to remove slash from a string in JavaScript

I get a text with JavaScript and sent it by ajax, but I want to remove all the slash that the string can bring as such and replace it with "-" Text that captures in the information variable: Send data to CE / SE to the person in charge /// Ju...
asked by 21.11.2018 / 15:22
2
answers

how can I go through the next json

I have this json and I want to show the value of its keys either by console or by a window. { "commerce_brand":"MASTERCARD", "commerce_brand":"visa", "commerce_brand":"otros" }     
asked by 30.10.2018 / 15:49
3
answers

How to Activate the hidden submit with another button using Javascript?

What I'm looking for is to activate the hidden submit with another button. for example: when the data of a form is filled it will be sent with a Generic button since this generic button evaluates or validates all the fields; therefore I am looki...
asked by 04.06.2018 / 16:45
1
answer

Problem when entering and reading data in JavaScript class

In this fragment of object-oriented programming I must create a single class with a "building" indicator and the properties "name", "description", "address", "data inauguration", "architect" and "cost". Must have methods to consult and modify th...
asked by 03.04.2018 / 13:34
3
answers

Union of two array in Javascript

I need to join two arrays, from the server I get the next json. an array that says "data" that has 2 objects and another that is called "Doc" which is made up of 4 objects.    I want to create a matrix that contains 8 elements equal to the fo...
asked by 31.03.2018 / 07:16