Hi
Javascript Code working in desktop mode does not run in web\phonegap mode. What is the correct way to reference other objects on the same form for mobile apps.
I have a very simple form which I am using.
Code copied from lib_page1_section1.js
{
Lianja.getElementByID("page1.section1.m_data").tex t="enter data here";
COMMENT***code does not run on Phonegap
}
////////////////////////////////////////////////////////////////
// Event delegate for 'changed' event
function page1_section1_m_data_changed()
{
Lianja.showMessage("change event");
COMMENT: Code runs in all modes
Lianja.getElementByID("page1.section1.field2").cap tion=Lianja.getElementByID("page1.section1.m_data" ).text;
COMMENT***does not run in Phonegap Preview
m_data.text="";
COMMENT: Code runs in all modes
};
Hopefully this makes sense.
Thanks in advance
Paudie
Bookmarks