How would you do a drill down on a custom html view
I have a grid of divs that I would like to open up a detail page or similar. I am dynamically building the divs and am wary that iphone doesnt listen to click event but I hear that it does on regular links. So I am wrapping my divs with a tag - how can I load up a detail view on a click first of all ?
Ok My list or grid of items is a custom html insert so I may be loosing out on the wondefrul framework events ?
Well I need to at least to try and click or tap cross browser/device on each individual html div and then I do a setActiveItem in my tabnavigation component.
The problem is sending the data in an event - I can do it via the a href like so
<a href="#" onClick="someFunction(); return false"
but I would prefer something in the controller that will work. I cant seem to do this, I can find my div wth a ref but it doesnt seem to work with any listeners...
Tags for this Thread