I tried the example there, all I can get it to do is.. lock up. As far as combining javascript and livecode, I'd say it depends on what you want to do. If you can get the example from that page working, it would be a great start as far as sending data from the page to lc for processing. If you need the javascript to do something first, my guess would be a dual function type of thing. Have a function that does something (say generate a random number to keep it simple) that then calls another function as in that example that sends the results back to an LC handler for additional processing. THen to make it run (initiated from LC) revbrowsercallscript to trigger the first function which does the javascript side, which then triggers the second function which calls the lc handler.
Of course all of this requires that it work at all. So far, even the one example just fails and hangs. On Wed, Dec 17, 2014 at 10:26 AM, John Dixon <[email protected]> wrote: > > > > > Date: Wed, 17 Dec 2014 09:59:13 -0700 > > Subject: Re: revBrowserAddJavaScriptHandler > > From: [email protected] > > To: [email protected] > > > > You might look here: > http://summerschool.livecode.com/index.php/sneak-peek > > theres a very simple, straightforward example a little ways down that > page. > > > Thanks Mike... though I was hoping that there would be a few examples > particuarly showing how to employ javaScript functions with it... > > Be well, > > Dixie > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
