where is id's necessary in a jqm project?
i am using jqm v.1.4.2, i understand the problem of using element id's in a jqm project because of possible
id clashes. but two places i have not figured out to avoid id's.
(1) filter input element.
because this seems the only way to attach it to a listview.
(2) page
unless the page is dynamically generated by javascript.
it seems to need an id for the $("#" + id).one("pagecreate") to work.
otherwise, using a class name $(".someclass").one("pagecreate) first might slow down the whole thing
because it needs to search the whole dom. more importantly, the class name might clash.
there is probably a good way of avoiding using id's here. but i have not figured out a way yet.
any suggestions?