i saw the loadJS function but I couldn't figure out how to get a reference on the iframe that the <html> element embeds into Laszlo. As for clicking the button, it's as simple as getting a ref to the button and doing btn.click()
On 5/8/07, Elliot Winard <[EMAIL PROTECTED]> wrote:
It's easy to make JS calls from inside your Laszlo app. Check out LzBrowser.loadJS() in the LZX Reference. [0] I don't know if it's possible to click a button, but it's possible to make calls to JS functions. HTH, -e [0] http://www.openlaszlo.org/lps/docs/reference/index.html On Tue, May 8, 2007 at 2:38 PM, mike kelly wrote: related to this, is it possible for laszlo to perform javascript actions on the embedded <html> or iframe? example: the iframe loads a page with a button, i'd like laszlo to click the button. On 5/8/07, *P T Withington *< [EMAIL PROTECTED] <[EMAIL PROTECTED]>> wrote: I don't know the details. I believe that in both cases the tag is implemented as an iframe in the browser, which should mean anything goes. On 2007-05-08, at 13:12 EDT, Pablo Ruggia wrote: > Great !! > If the page I insert is DHTML, will the javascript be evaluated too ? > Sorry for being so annoying, but I have this requirement that I > have to be > able to include another DHTML pages like they were "widgets". > Thanks ! > > On 5/8/07, P T Withington < [EMAIL PROTECTED] <[EMAIL PROTECTED]>> wrote: >> >> It has just been added for SWF in the nightly release and will be in >> 4.0.1. >> >> On 2007-05-08, at 12:09 EDT, Pablo Ruggia wrote: >> >> > Thanks PT, but reading documentation it says it's only available >> > within >> > dhtml runtime. >> > Is this a limitation because of flash plugin not being able to >> embed a >> > complete webpage or it's a limitation of some openlaszlo thing ? >> > >> > Thanks ! >> > >> > On 5/8/07, P T Withington < [EMAIL PROTECTED] <[EMAIL PROTECTED]>> wrote: >> >> >> >> Yes, in 4.0 there is an <html> tag. >> >> >> >> On 2007-05-08, at 07:25 EDT, Pablo Ruggia wrote: >> >> >> >> > Hi ! >> >> > Is there any component that allows me to insert html in it ? I >> >> > mean, it >> >> > should work like an iframe, I want to include a whole page. I'm >> >> > planning to >> >> > release my application in Flash runtime. >> >> > Thanks ! >> >> >> >> >> >> -- Mike ---=---===------- Elliot Winard Sr. Software Engineer Laszlo Studios ---=---===-------
-- Mike
