Questions tagged as 'javascript'

1
answer

How can I call the event of an element that I am declaring in a function in javascript?

I am a bit stuck with this code and I can not find the solution, what I want to do is that when loading the sun the "loadWithParameter" function is called and generates elements from javascript and loads data from a rest api. At the end you also...
asked by 22.10.2018 / 00:32
0
answers

Help How to validate these fields in Reactjs

I have tried several functions to achieve validate these within a ReactTable. The Airplane field I want to only allow a maximum of 5 characters, and the Weight field I want to be only numeric. I do not know how <ReactTab...
asked by 22.10.2018 / 03:19
0
answers

Integrate Addon Payments

It is the first time I integrate Addon Payments and the truth is that I can not make it work, I explain more less what I have done in case you can help me. At the moment I am with the tests offered by the documentation have if I can pass data....
asked by 22.10.2018 / 09:06
2
answers

I need to change the name of one element for another

slides = document.getElementsByClassName("mySlides"); What I need is that through a function I can change "myslides" to "mySlides1"     
asked by 20.10.2018 / 22:53
0
answers

How to capture an external URL with PHP or JAVASCRIPT

Is there a method to capture the URL of an external Web page in an application in php? Example: I have my Index.php file on my local server: Localhost / app / index.php in my browser. I open another window within the browser and login t...
asked by 19.10.2018 / 15:43
1
answer

cone send data to a web service to receive data

Hello, I have two text boxes, their id are color and the other one is tamaño , they receive input data from a page but I do not know how to send my fields to the web service so that I can return my data. the url is where my web serv...
asked by 19.10.2018 / 15:08
1
answer

How to know the id of an element through a class in function if the style "display2 step from none to block [duplicated]

Hello friends I have a lot of dynamic elements that have the same class, and these are shown or not by the display block style, I would like to know based on the change of style the id of that element.     
asked by 19.10.2018 / 15:07
0
answers

Function JavaScript does not work after the second call (and subsequent)

I have a very strange problem. I am developing a functionality in C # with MVC 3. When clicking on a tab, the controller returns a partial view and in turn this view calls a javascript file that draws a graph. The first time the system is seen,...
asked by 19.10.2018 / 15:26
1
answer

Update DIV without reloading page when receiving Firebase data

On a div, with CSS, I'm trying to update its background color with a change in a database in Firebase. This update I only see if I refresh in the browser. I would like the corresponding div to be updated since the change was made in Firebase. At...
asked by 21.10.2018 / 19:23
0
answers

javascript - mercadopago.ipn.manage error Invalid Topic (undefined).

I am trying to create a receiver for the ipn of mercadopago, saying this, I receive an error that marks me: Unhandled rejection Error: Invalid Topic (undefined). The topics available are: preapproval, authorized_payment, payment, merchant_o...
asked by 24.10.2018 / 01:51