Project

General

Profile

Bug #3930

JavaScript in WT

Added by Johann Gonzalez over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
-
Start date:
03/30/2015
Due date:
% Done:

0%

Estimated time:

Description

I want to know if wt actually write the JavaScript code in the final html Doc. I'm trying to use a library named XTK with WT. I need to create variables and use them with some events, but when I use the method doJavaScript the first time it works, but after that, I need to manipulate the variables that I created in the first call and the system tell me that there is a problem of definition, it seems, it is not saving the variables that I create.

#1

Updated by Johann Gonzalez over 6 years ago

I just read that the method doJavaScript do not write in the global scope of JS. There is any way to do that? . I need to create some js objects and I need to store them to be able of manipulate them later.

Thanks.

Also available in: Atom PDF