Page 1 of 1

Javascript handlers

Posted: Wed Feb 22, 2017 4:55 pm
by Gurgen
Hi all,

I have some js code which sends data back to livecode.

My js code

Code: Select all

function crosswordDataToLivecode(pData){
	 
    try{
    liveCode.dataReady(pData);        
    }
    catch(err) {
       alert(err);
    }
};
So I'm getting error "TypeError: liveCode.dataReady is not a function".

I have dataReady as a javascripthandler in my browser widget properties.

Please help to solve this problem.

Thanks,
Gurgen

Re: Javascript handlers

Posted: Thu Feb 23, 2017 4:28 pm
by capellan
Hi Gurgen,

Could you post a stack to run on the ide?

Al