>> I have the following problem: Having a web page loaded into a TWebBrowser
>> hosted in my Delphi application, I want to have Delphi code execute a
>> JavaScript function embedded in the HTML page. How can I do that ?

> One angle - there are probably others - how about doing either directly a
> load of the page where you plug in your function into the onload, or use 
> an
> invisible/0-size frame/iframe with your function hooked into the onload?

That would defentely different that what I need: I need to call a JavaScript 
function from Delphi at anytime and not at the time of the load. To 
simplify, assume the UI has several button, each one has to call a different 
JavaScript function. And don't tell me to put the UI into the HMTL: I have 
no control over the HML. The sample I gave is just a sample so that you can 
get an idea about what I meant.

Anyway, thanks !
--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to