I need to include a very simple calculator on a page in a joomla client site. Client wants to be able to update rates attached to the calculator and I'm not having them use ftp. Is there a way to insert a small form, have users use the calculator, and have the calculator return the result to the page for the user to see?
A quick search of GOOGLE returns a few very useful things like
One technique I have seen is to use innerHTML.
On the HTML page on which you want the results output, you define a span and give it a name. In this example, the span is named "output":
You could even put this span in a table.
document.getElementById('output').innerHTML = outputString;
(In this case, the output is a string variable named "outputString".)
A coworker rewrote this for me in php and it works fine, in WAMP serving up an IE page. Trying to get the php to work in Joomla is another thing. Still working on that. Is there a way to mark this thread solved?
This topic is now closed. New replies are no longer allowed.