Hi,
I ran into a problem with the offset(), I'm trying to map offsetY of listdividers. when I run through them with:
$("li:jqmData(role='list-divider')").each(function (idx, elm) {
console.log( $(elm).offset());
...
I get the offest at 0,0 to all of the items.
If I do the same with bind to click like this, it works fine
$("li:jqmData(role='list-divider')").bind('click', function (idx, elm) {
console.log( $(elm).offset());
...
Any idea what I'm doing wrong?
Thanks
Ran