You mean like this?
function addNumbers(n1,n2)
{
return n1 + n2;
}
var sum = addNumbers(1,2);
--
Kent Briggs, kbr...@spamcop.net
Briggs Softworks, http://www.briggsoft.com
You mean, like first put the return value in a variable of the HTML
document, and read that value from my Delphi app? Well, it's an idea, but
actually I was wondering if it could be done directly?
Thanks for the reply anyway.
Steven
> You mean, like first put the return value in a variable of the HTML
> document, and read that value from my Delphi app? Well, it's an idea, but
> actually I was wondering if it could be done directly?
> Thanks for the reply anyway.
Javascript is executed by the client browser. What exactly are you
trying to do with a Delphi app? Is your Delphi app an HTTP server?
Before you get help, please show that you have read the rest of this
thread. Then, ask a specific question.
--
Rob