[SOLVED] Page opened with navcontroller push is duplicating itself

This is part of why I pretend innerHTML simply doesn’t exist. I guess if you’re happy with what you have, that’s really all that matters for you, but for anybody else stumbling across this thread, I would urge you to consider this approach instead.

IMHO, HTML is a terrible format for server/client communication in mobile apps. It is far too broad, vague, and squishy. In the vast majority of cases, a domain-specific representation in JSON is going to be considerably tighter, and despite being more extra work initially to set up, will result in much smoother testing and maintenance down the road.