# Problem get http request value javascript (Solved)

**URL:** <https://discourse.nodered.org/t/problem-get-http-request-value-javascript-solved/10314>\
**Category:** General\
**Created:** [18 April 2019 02:21 UTC](https://discourse.nodered.org/t/problem-get-http-request-value-javascript-solved/10314 "2019-04-18T02:21:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yusuv](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yusuv/32/7626_2.png) [@yusuv](https://discourse.nodered.org/u/yusuv)\
**Post date:** [18 April 2019 02:21 UTC](https://discourse.nodered.org/t/problem-get-http-request-value-javascript-solved/10314/1 "2019-04-18T02:21:02Z")

</div>

Hi, i got problem to get value of javascript. can help me pls ?

![1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/e/e627c1016f26b3fa4317ddee61b0101293e9919e.jpeg)  
 ![2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/052c836eb1f088275044168af62923820e640253.jpeg)

```auto
[{"id":"c8f0358e.e784d","type":"inject","z":"fb26e209.588d3","name":"make request","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":170,"y":1000,"wires":[["228abffc.9f982"]]},{"id":"228abffc.9f982","type":"http request","z":"fb26e209.588d3","name":"","method":"GET","ret":"txt","paytoqs":false,"url":"https://albert-gonzalez.github.io/easytimer.js/","tls":"","proxy":"","x":334.5,"y":1000,"wires":[["308b6423.9c483c"]]},{"id":"53f98f1b.e4b8f","type":"debug","z":"fb26e209.588d3","name":"","active":true,"console":"false","complete":"false","x":670,"y":1000,"wires":[]},{"id":"308b6423.9c483c","type":"html","z":"fb26e209.588d3","name":"selector","property":"","outproperty":"","tag":"#basicUsage","ret":"text","as":"single","x":500,"y":1000,"wires":[["53f98f1b.e4b8f"]]}]

```

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [18 April 2019 05:01 UTC](https://discourse.nodered.org/t/problem-get-http-request-value-javascript-solved/10314/2 "2019-04-18T05:01:27Z")

</div>

What are you trying to do ?

Your flow shows: request webpage \> get element `#basicUsage` which is 00:00:00 (see source code), but is changed using javascript.

If I understand your logic, this will never work.

Do you want to use a timer in node red ?

---

<div class="post-metadata">

**Author:** ![yusuv](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yusuv/32/7626_2.png) [@yusuv](https://discourse.nodered.org/u/yusuv)\
**Post date:** [20 April 2019 00:18 UTC](https://discourse.nodered.org/t/problem-get-http-request-value-javascript-solved/10314/3 "2019-04-20T00:18:40Z")

</div>

no, that example to request value is changed using javascript it is possible or not ?  
I appreciate your taking the time to answer my question. It has really helped me, thank you

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [20 April 2019 08:30 UTC](https://discourse.nodered.org/t/problem-get-http-request-value-javascript-solved/10314/4 "2019-04-20T08:30:43Z")

</div>

The http request node will get the raw html of the page - essentially what you get if you 'view source' from your browser.

It does not run any scripts in the page.

If the page contains JavaScript that dynamically changes the page,you cannot use the request node to see those changes.

Depending on what exactly you want, you may find the page is making further http calls for the dynamic content it adds - you could use the URL of those requests instead to get the data directly. The Network tab of your browsers developer tools will help you identify if that's the case.

---

<div class="post-metadata">

**Author:** ![namoora](https://avatars.discourse-cdn.com/v4/letter/n/4bbf92/32.png) [@namoora](https://discourse.nodered.org/u/namoora)\
**Post date:** [24 February 2021 09:12 UTC](https://discourse.nodered.org/t/problem-get-http-request-value-javascript-solved/10314/5 "2021-02-24T09:12:06Z")

</div>

Could you describe the last point in more detail? Or is there a documentation about it?

For Example, there is a Demo Site, which is generated by JavaScript:  
[https://my.sonnen.de/demo/live-state](https://my.sonnen.de/demo/live-state)

I want to get the values (e.g. 5,2 kW).  
How do I do this?

Thanks

---

<div class="post-metadata">

**Author:** ![fly-robin-fly](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@fly-robin-fly](https://discourse.nodered.org/u/fly-robin-fly)\
**Post date:** [8 March 2021 12:03 UTC](https://discourse.nodered.org/t/problem-get-http-request-value-javascript-solved/10314/6 "2021-03-08T12:03:48Z")

</div>

@namoora did you find any solution?

Have the same problem

Thanks
