T
The Natural Philosopher
I am no stranger to procedural languages (C mainly), but am to object
style languages.. and in particular the overall way that javascript
hangs together.
What I wish to do, is to create a sort of spreadsheet type web page,
customized towards a particular application, so that non technical users
can select from (dynamically variable) drop down menus, and set up a
simulation, and the end results are automatically updated in various
output places.
What puzzles me is how the browser/script interface works.
i.e. if I have a bunch of global variables that represent calculation
results, and I update these as options are selected, will the visible
results of these variables instantly update if I use e.g. a javascript
function to express them as HTML text, or do I have to physically force
some kind of refresh on the page by doing a submit type action?
i.e. is it enough to say have a variable written to screen via a write
command, and then that will update as and when the document variable
changes?
As might happen after a select event..
style languages.. and in particular the overall way that javascript
hangs together.
What I wish to do, is to create a sort of spreadsheet type web page,
customized towards a particular application, so that non technical users
can select from (dynamically variable) drop down menus, and set up a
simulation, and the end results are automatically updated in various
output places.
What puzzles me is how the browser/script interface works.
i.e. if I have a bunch of global variables that represent calculation
results, and I update these as options are selected, will the visible
results of these variables instantly update if I use e.g. a javascript
function to express them as HTML text, or do I have to physically force
some kind of refresh on the page by doing a submit type action?
i.e. is it enough to say have a variable written to screen via a write
command, and then that will update as and when the document variable
changes?
As might happen after a select event..