the inline attribute must be in the a/button/input tags. seems to be only an error in the current version of the online doc. it's correct in the github repository. see http://jsfiddle.net/olli/27bND/ for an example.

the generated content is not enhanced. i could call page() on the content div, but that will trigger the pageCreate event. in my project, this is not an option.

there should be a method to enhance some content without side effects. i guess many folks here struggle with this issue in one way or another. it complicates programming with jquery mobile in many ways, especially when it comes to client side operations with frameworks like knockout or backbone.

most cms systems are optimized for non-mobile websites. i found that flexible and simple cms are best suited for jquery mobile. for example radiant or silverstripe. what cms do you use? and why is it the right choice?

i wanted to add buttons dynamically. there seems to be several ways to do that.

i noticed in firebug that button() method creates dom wrapped in a div. i wondered why the button() method doesn't create the more intuitive version with the <a> tag. both versions work, see http://jsfiddle.net/olli/HTSsz/