to set the required values. Everything works fine this way but I want to do all this in a single htm file instead of having two files for each fields. How can I achieve that?
Thanks for the reply. With your changes I now have a single working status.htm file with both options displaying their correct values. But this doesnt solve the main issue I was having.
Basically I am using XHR.poll to get send-status and recv-status from the backend. Previously I had XHR.poll in both of my separate htm files and I would see two XHR get requests going from my browser to the system.
One from recv_status.htm and another from send_status.htm.
Now I have a single status.htm file with one XHR.poll defined but I still see two requests both coming from the status.htm.
What I want to do is something like in the Network->Interfaces page where a single XHR.poll is called every 5 seconds and it gets and displays all the information from that (like Uptime,MAC-Address, RX, TX etc).
Is that possible with two different options pointing to the same template file?
Just had to move my poll implementation under only one of the self.options like your second suggestion and now I get only one request going out...works great...thanks