Hey as you already found out the problem was that you initialized the widgets twice. You can mark the html-elements for "autoinitialization" by adding the data-role="somewidget" attributes. There was a second, programmatic Initialization within your script. I recommend following: Remove the programmatic Initialization (http://jsfiddle.net/7hJ5d/7/) and keep the data-role attributes.
Leave a comment on stefan.gebhardt's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic