Hi all,
im new to the iPhone dev kit for about a week not and i hit the first problem.
Im using and Edge-to-Edge list. The array data is set in the main.js inside the init funcation like:
list.object.setDataArray(array);
where array is in a format of [[row0label, row0value], [row1label, row1value],...] -> thsi array is been created from records which are been store in a DB.
The list gets displayed correctly, but now i want to add a link to a new view. So far i added a handler on the onlick event of the ListRowTemplate insidide the funcation i have the following:
alert(document.getElementById('listRowTemplate').value);
This always displays zero :s and i dont know why :S
Any help appreciated.
Thanks guys.
im new to the iPhone dev kit for about a week not and i hit the first problem.
Im using and Edge-to-Edge list. The array data is set in the main.js inside the init funcation like:
list.object.setDataArray(array);
where array is in a format of [[row0label, row0value], [row1label, row1value],...] -> thsi array is been created from records which are been store in a DB.
The list gets displayed correctly, but now i want to add a link to a new view. So far i added a handler on the onlick event of the ListRowTemplate insidide the funcation i have the following:
alert(document.getElementById('listRowTemplate').value);
This always displays zero :s and i dont know why :S
Any help appreciated.
Thanks guys.