Viewpoint Forums
Viewpoint Forums
VETScript
how to call VETScript function from javascript function|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hi,
How can I call a VETScript function from a javascript function? I tried this way as a test but vmp.Execute( '<VETScript Script=\\"alert(20);\\"/>'); I need to call a vet script function and pass some parameter like: myVetFunction( prm_1 , prm_2 ); can I do it? thank you in advance |
||
|
|
Member |
All you need to do is to call vmp.Execute with the function VETScript( script to execute ).
Ex: vmp.Execute(‘VETScript( script )’); |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
VETScript
how to call VETScript function from javascript function
