Javascript and html form question...
I created a html page with a form called MyForm
I enter values X and Y into MyForm
For onclick, I reference a function in the header called GetCoord() that is supposed to print X and Y. I don't want X and Y to be printed out in an alert window. I don't want to create a new webpage that would display X and Y. I don't want to use frames.
Instead I want my html page to update itself automatically. So after submitting MyForm, I want the form to stay there and for the webpage to be udpated by printing out X and Y.
Is this possible?
I created a html page with a form called MyForm
I enter values X and Y into MyForm
For onclick, I reference a function in the header called GetCoord() that is supposed to print X and Y. I don't want X and Y to be printed out in an alert window. I don't want to create a new webpage that would display X and Y. I don't want to use frames.
Instead I want my html page to update itself automatically. So after submitting MyForm, I want the form to stay there and for the webpage to be udpated by printing out X and Y.
Is this possible?
Comment