Hi All,
I am usig CGI-C to communicate with my embedded webserver. I am using
javascript for my client side scripting. I need implement some polling
operation(conti nuously pull status from my target device) in HTML
Form. since i am using CGI-C for me to return the response i need to
regenerate the HTML form in my "C" code. I dont want to do regenerate
the response each time i do i a GET operation.
I understand that i can use hidden frames for this purpose. But i am
not clear in using hidden frames. I have created hidden frames using
FRAMESET ROW=100%,*, but when i click the GET button my Main Form that
is visible, i want my hidden form to invoke the CGI that executes some
command in my target and return the response in name,values
pairs(which are hidden) and then extract the value from them assign to
the Main Form.
ie. basically when the hidden form does the processing, i still want
to continue to remain in the Main form..and then assign the values
from the hidden form..
i tried to give top.documet.all .hidden.locatio n="http://10.0.0.20/cgi-bin/getval.cgi".
Where hidden is my "hidden" form name. This doesnt seem to work..
I appreciate any inputs on this
Thanks
I am usig CGI-C to communicate with my embedded webserver. I am using
javascript for my client side scripting. I need implement some polling
operation(conti nuously pull status from my target device) in HTML
Form. since i am using CGI-C for me to return the response i need to
regenerate the HTML form in my "C" code. I dont want to do regenerate
the response each time i do i a GET operation.
I understand that i can use hidden frames for this purpose. But i am
not clear in using hidden frames. I have created hidden frames using
FRAMESET ROW=100%,*, but when i click the GET button my Main Form that
is visible, i want my hidden form to invoke the CGI that executes some
command in my target and return the response in name,values
pairs(which are hidden) and then extract the value from them assign to
the Main Form.
ie. basically when the hidden form does the processing, i still want
to continue to remain in the Main form..and then assign the values
from the hidden form..
i tried to give top.documet.all .hidden.locatio n="http://10.0.0.20/cgi-bin/getval.cgi".
Where hidden is my "hidden" form name. This doesnt seem to work..
I appreciate any inputs on this
Thanks
Comment