This topic is locked

real time calculating

12/1/2010 4:30:51 AM
PHPRunner General questions
D
danaci author

hi,

phr 5.2 build 5482

this code is not working

what is the wrong syntax.
function OnPageLoadAdd(pageid)

{

var ctrlmiktari = Runner.getControl(pageid, 'miktari');

var ctrlolcu = Runner.getControl(pageid, 'olcu');

var ctrltutar = Runner.getControl(pageid, 'tutar');
function func() {

ctrltutar.setValue(ctrlmiktari.getValue() * ctrlolcu.getValue());

};
ctrlmiktari.on('keyup', func);

ctrlolcu.on('keyup', func);

}
regards.

J
Jane 12/1/2010

Hi,
It's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.