variable from a web site

Mike Bonner bonnmike at
Mon Mar 4 09:13:16 EST 2013

Don't have time to dig further, but something like this might get you

on mouseUp

   get revbrowserexecutescript(1,"result=outputDiv.innerHTML;") -- gets the
innerHtml of outputDiv

   put it -- could be "put the result" in this case also, info is

end mouseUp

On Mon, Mar 4, 2013 at 3:42 AM, Jacques Hausser <jacques.hausser at>wrote:

> I'm a total newbie with browsers and worse, totally blind-and-deaf to
> Java. My problem is I want to pick coordinates and elevation in a LC stack
> from
> just by clicking on the map.
> I was (surprisingly) able to get a browser working in my stack. Now, the
> results are apparently available as a CSV list in a variable 'outputDIV',
> defined as : var outputDiv=document.getElementById('outputDiv');
> How to get this variable automatically after a click on the map ?
> Many thanks in advance !
> Jacques
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list