i am doing online meter project......th ere is table in my html page...in that table meter show continuesly diff values......... .... without resfrshing page table can take next value.....
that is my part........
Shila, help us to help you by asking your question properly with a full explanation, what you've tried, where you think you're going wrong, the code and any error messages. Also, a problem doesn't become more urgent by adding 10-15 exclamation marks. See How to Ask a Question. Thanks!
1)there is meter connected to the UC (moxa product)
2) i am attaching herewith my html page....there is a table.....meter has continuously changing value and it is disply in my html page......
3) then,this html pages converts into the c and cgi
4)meter value coming into the UC....its handle from 'C' and 'cgi' program....no doubt about how it come .......my problem is how can i display value continuously... ..
5)What and How can I do???
6)without refreshing page table can take next value.....
well, this sounds more and more like an ajax problem. the crucial point is: what input your moxa needs and what output it returns. if you can answer this question you are a good step forward to your solution.
as far as I can tell (and to answer my own question) the input sent from the html is (void) (the page is only receiving content). still I don't know, what kind of data this is.
so now my question is:
- what is this moxa uc thing exactly
- what kind of data is the moxa sending
Ajax works roughly this way:
- send a request to the server for either a static file or a script file
- the server returns an answer (usually text)
- javascript processes the received data (e.g. displaying it)
regards
PS: there is a lot to do to clean up the html markup. you should read a tutorial about CSS
PPS: I don't mind if you describe things more explanatory (the more the better for me, because I don't know the background)
1) The UC(moxa) reads the value(readings) from the meter and display the value into the html page..... its value changing continuously... .............
2) How it can comes or read from UC to html ...this is not my part.....my part is without refreshing page that value (reading ) display in the table...
3) it is possible that without refreshing table can take next value continuously... ..
plz help me aout its ........is very argent for me
Comment