This topic is locked

Javascript on load event error

5/9/2011 7:36:48 AM
PHPRunner Tips and Tricks
author

var ctrlPrice = Runner.getControl(pageid, 'UnitPrice');
var ctrlQuantity = Runner.getControl(pageid, 'Quantity');
var ctrlTotal = Runner.getControl(pageid, 'packing');
function func() {
var ctrlTotal =ctrlPrice*ctrlQuantity;

ctrlTotal.on('keyup', func);
};
this is what i wrote but it is not working plz give me a correct and i also need to get alert message on the scrren of the total value plzzzzzzz supply correct alert message.
plzz give me sample code for this

F
FunkDaddy 5/12/2011

Not to be a pain.. .but this is the wrong place to post questions... you should only be posting "Tips & Tricks" in this section of the forums. To ask questions you can go to: http://www.asprunner.com/forums/forum/4-phprunner-general-questions/
The only reason I care is that otherwise this area of the forums will become cluttered with entries asking questions rather than providing "tips & tricks".
Cheers,