PDA

View Full Version : Javascript problem!!!



psilos
11-16-2006, 04:41 AM
Hi,
i have a web object and an activex object inside it...
i want to control the activex object with javascript
when i try to control it with a button inside web object it responds normally!

When i try to call the same javascript function with a button object it doesn't respond! I have separate .html and .js files in docs.

Which is the proper way to call a javascript function??
I tried :
Web.LoadURL("Web 1", "javascript:kagkelo1();");
and :
Web.LoadURL("Web 1", "javascript:kagkelo1()");
but nothing.

I hope u understand what i mean.
Thanx for any help.