It works perfectly well :-) Le 4 mars 2013 à 15:35, Jacques Hausser <[email protected]> a écrit :
> Many thanks, Mike, I'll have a try this evening (visitors home just now…) > > Jacques > > Le 4 mars 2013 à 15:22, Mike Bonner <[email protected]> a écrit : > >> Actually since you don't just want the most recent click and want the csv >> contents you probably want this instead. >> >> get revbrowserexecutescript(1, >> "result=document.getElementById('ta_csvoutput').value;") >> >> >> The other just returns the most recent click, this grabs the value of the >> textarea with the csv data. >> >> >> On Mon, Mar 4, 2013 at 7:13 AM, Mike Bonner <[email protected]> wrote: >> >>> Don't have time to dig further, but something like this might get you >>> started.. >>> >>> 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 >>> duplicated. >>> >>> end mouseUp >>> >>> >>> On Mon, Mar 4, 2013 at 3:42 AM, Jacques Hausser >>> <[email protected]>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 >>>> http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm >>>> 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 >>>> [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 > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: [email protected] > ******************************************* > > > _______________________________________________ > 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 ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: [email protected] ******************************************* _______________________________________________ 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
