how an alert message can trigger a LC function?

paolo mazza mazzapaoloitaly at gmail.com
Mon Sep 24 06:37:05 EDT 2012


Hi all,
how an alert message (in RevBrowser)  can trigger a LC function ?

Consider an HTML page in a RevBrowser window, with the following Javascript :

function messaggio() {
	alert('Ciao'); 	
	}

When I call the JS function "messaggio()" , RevBrowser shows an alert
with "Ciao" .

So, how can I have my LC application reacting to this alert message
and (possibly) getting the value "Ciao" ?

Thanks,

Paolo Mazza




More information about the use-livecode mailing list