I got this to work, but not in the nicest way. It appears the script is adamant that I do not call .scrollTo within the following function [code] function getList(event, page){ $('#holdList')[0].scrollTo(0); var distance = $('#distance').val(); var addressQ = $('#address').val(); $('#map').jmap("searchAddress", { address: $('#address').val() } } [/code]
but it happily runs (but a bit slowly) within this function [code] $('.next').livequery('click', function(event){ $('#holdList')[0].scrollTo(0); var page=this.id; getList(event, page); }); [/code] Don't know why, but it works. The '[0]' is needed in front of the .scrollTo function as well. Thanks Ariel