>I am using DHTML Editing Activex control in my VFP application to display HTML file.
>Java script is used in HTML file.
>
>HTML page has a image e.g. 'CART' , If user click on 'CART' it executes a function written in java script.
>
>I also want to execute VFP a procedure after execution of java script code on each time whenever user click on
>'CART' image.
Are you using VFP 7.0? If so, you should be able to use event binding to attach VFP code to the event that fires within the object in the page, reference the object via webbrowser.document. Yesterday I posted a message here on the UT in the VFP and ActiveX controls section on documentation online for the IE webbrowser control.