Hi all, I bumped into some strange behaviour with using the changedTouches event collection where an element it's target seems lost as soon as it's content has been changed using innerHTML.
Feel free to have a look at http://camphuisen.com/iphone.html, what you see here are 3 buttons made up of 3 separate divs. I've added an event listener on the dvContainer parent div. When I touch one of the green buttons it's content gets added to the red result div below. To clear the resultdiv just touch it. Everything works great as long as you don't touch the div's caption, i.e. "one","two" or "three" at which point the changedTouches collection seems to loose track of the originating target. The same applies to the red result div. Clearing it works fine as long as I stay away from it's caption. I've been able to reproduce this strange behaviour on both my iphone and itouch which are both running the original 2.1 firmware. I've been looking at this for some days now and can't get it to work and was hoping someone could shed some light over as to what the cause is of this strange behaviour. I must be doing something stupid as I can't imagine having found a genuine bug :) Thanks in advance, CC (from amsterdam) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
