Search found 3 matches

by folko
Sat Apr 14, 2018 8:08 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Browser Widget and external JavaScript files
Replies: 3
Views: 3653

Re: Browser Widget and external JavaScript files

Ok. There is a much more simpler explanation: When using the browser widget just to load/show html, it works as expected. Also, external javascript files work. What i did: load the html into a variable, manipulate things, put the result into the widget. This works partly. In this case, the html cont...
by folko
Thu Apr 12, 2018 6:31 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Browser Widget and external JavaScript files
Replies: 3
Views: 3653

Re: Browser Widget and external JavaScript files

Hi Klaus, thank you for answering. I did some further investigations: external js files do not cause the problem per se. It´s the browsers window object! Explanation: i am used to attach variables or objects to the top level window object. This works in all browsers. But it seems the LC browser does...
by folko
Thu Apr 12, 2018 1:29 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Browser Widget and external JavaScript files
Replies: 3
Views: 3653

Browser Widget and external JavaScript files

Hi Livecode community, This is my first post. So please forgive me if my question should belong to another thread. I am new to Livecode, coming from JavaScript, AS3 etc. I did some experiments with the browser widget. I successfully managed the 2-directional communication (LC to JS and JS to LC). Wh...