I have a HTML form with some fields. One field is price that is changed many times.
I can get price from price.php
Price.php is in my root and after some calculation it echoes price. (all calculation is in this file and it just can echoes price).
Here is my html form field:
<input type="text" id="price" disabled="">
Please help me to update value of this input field every 5 seconds (if price changes). I don't want refresh page. Only updating this field automatically every 5 seconds.
I don't know maybe javascript can help or something else. Anyway if you provide me full working code is very better because I don't know javascript. I only know HTML.
Thank you.