Viewpoint Forums
Viewpoint Forums
JavaScript
escape sequenses when using javascript|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Junior Member |
I am trying to change viewpoint text dynamically through javascript.
Now what I need to do is find a way to use double quatation(""). I am able to to do it from the MTX file using the &quote; character. When I try doing it from javascript using SetProperty function, I get errors. Is there an easy way to settle this problem? |
||
|
|
EnIgMaTiCScOrPioN Member |
Hey,
Try this Javascript function.. function changeText() {
vmp.SetProperty('TextLayerDataName', 'text', "''NEW TEXT''", 'String');
vmp.Render();
}Cheers, Anup |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
JavaScript
escape sequenses when using javascript
