
December 15th, 1999, 07:28 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
This really isn't very hard, you could probably learn how to do it yourself.
<script language="javascript">
<!--
function calculate() {
var result = <?price?> *
parseInt(document.form.textbox.value);
}
-->
</script>
-------------------------------
You'll need to work out the event handler. Probably an onClick event of a submit button.
Falcon
|