Forum : somebody pls help me??
Brief description  about Online courses   join in Online courses
View ishank  shah 's Profile

somebody pls help me??

I am not able to perform the following task :
take 2 number from text box and show the sum, division multiplication, subtraction result on 3ed text box, on the click of buttons.
Asked by ishank shah | May 23, 2010 |  Reply now
Replies (2)
View teacher siliconindia 's Profile
Hi Ishank,

Take 2 numbers from text box . Then Onclick call the respective function.

<SCRIPT Language = JavaScript>
function abc()
{
A = 2
B = A
C = B + A
return c
}
</SCRIPT>

Display the result in another text box.
Jul 14, 2010
View sriaruna chandrasekaran 's Profile
you can use 4 different buttons and try to display in one text box
May 31, 2010