Invoking contract method from DAPP.

I have one contract with method name as getValues().
From Dapp I am invoking contract method as .......

'contractCAt.getValues.call(function(error,result){...})'
This works fine.
By using
'contractCAt.getValues(function(error,result){...})'

This also works fine.

I did not get any difference between these to invoke contract method.

Can anyone give me some explanation about these syntax.
Thanks in advance.

Sign In or Register to comment.