For years I've been reading, building and testing, mainly testing, reinventing, testing, while trying to create a flexible all in one website system. So I probably got some tricks up my sleave.
You just need to ask the right question, to get the right answer...
In case you have this named HTML iframe
call the iframe document, and go further,...
or
You cannot change the innerHTML of the iframe document if the website-page is not on the same domain, due to security ofcuz.
On drop, on select, on changing the selected HTML SELECT box option. Just use the onchange event listener.
Select color:
You can ask for the selectedIndex of a select. Use this to pinpoint the option of which you will use the innerHTML value.
So you can do calculations with that string, which is in fact the string value of an integer.
Use the parseFloat() function like this:
What is ajax in my opinion? A set of techniques for doing things live in your website page, making it act as a program "GUI". Without ajax the website template would reload upon every click on a link/button.
I'm an old-schooler who uses iframes instead of http-xml-requests. Why? First of all, iframe support is more wide-spread. Also because you are still able to use the "back"-button of your browser,...(this last one will probably become irrelevant in the future).
This is the website GUI with a hidden iframe, index.htm