Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Joomla Coding  (Read 3780 times)

0 Members and 1 Guest are viewing this topic.

ajc

  • Guest
Joomla Coding
« on: July 25, 2010, 08:37:17 PM »
Hi All newbie to HTML coding here so need some help. I am teaching myself some basic coding to set up a basic input screen to assist in data collection in cottage industry bushiness ie very very small ( Just 2 people) I am trying to write a code to add 3 input vales together and average the result ( to 3 decimal places).

So far I have got
<input type="button" value="Calculate Result" name="form[update]" id="update" onclick="document.getElementById('Result').value =( parseInt(document.getElementById('Check Weight 1').value)+(document.getElementById('Check Weight 2').value));" />

Unforntualy it will not work....any advice on what i am doing wrong ?