Multiple XMLHttpRequest on the same page.
Budget: $10 – $30 USD
I’m having issues with the data received from a XMLHttpRequest. It keeps Ghosting to a second request.
I’m hosting a webpage from a ESP8266 acting as server. It’s also communicating via serial to an RS485 to ttl converter To query a control panel.
The webpage contains few gauges and boxes that will be populated once some buttons are pressed (3). If you are interested I will send you the video For you to view !
Files for the html are also uploaded.
When the button is pressed it’s supposed to get data from the controller and into the gauges, but for this to happen I have to press it 2 times, it should work with the first press
When getData 2 is pressed it does the same as above but populates some boxes. The first press actually reads of the getData1 readings.
Only till pressed a second time gets the correct data.
It request via http method “Get”.
Please be aware for this project you must understand Ajax, XMLHttpRequest methods, Java script, html and css.
I’m hosting a webpage from a ESP8266 acting as server. It’s also communicating via serial to an RS485 to ttl converter To query a control panel.
The webpage contains few gauges and boxes that will be populated once some buttons are pressed (3). If you are interested I will send you the video For you to view !
Files for the html are also uploaded.
When the button is pressed it’s supposed to get data from the controller and into the gauges, but for this to happen I have to press it 2 times, it should work with the first press
When getData 2 is pressed it does the same as above but populates some boxes. The first press actually reads of the getData1 readings.
Only till pressed a second time gets the correct data.
It request via http method “Get”.
Please be aware for this project you must understand Ajax, XMLHttpRequest methods, Java script, html and css.