{"comment":{"created_at":"2011-10-18T06:49:19Z","body":"Hi fnagel\r\n\r\nThank you for the prompt answer. I updated my bug description with a demo fiddle.\r\n\r\nThanks and regards\r\nshub01","updated_at":"2011-10-18T06:49:19Z","url":"https://api.github.com/repos/fnagel/jquery-ui/issues/comments/2438596","id":2438596,"user":{"gravatar_id":"7562015c2557091df356b409556b15e4","avatar_url":"https://secure.gravatar.com/avatar/7562015c2557091df356b409556b15e4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/shub01","id":1127717,"login":"shub01"}},"action":"created","issue":{"number":178,"created_at":"2011-10-14T08:08:21Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"In my webapp I store all elements in the form with the jQuery.data() method. Also the select fields where the selectmenu plugin is applied. After replacing (jQuery.html() method) the content with the before stored object (jQuery.data()) the select fields aren't working. This means you can click on the select fields but it doesn't happen anything. The refresh, enable methods don't take an effect too.\r\n.\r\nStoring: $('body').data(\"form\", $(\"#form\").html());\r\nReplacing: $('#form').html($('body').data('form'));\r\n\r\nDemo:\r\nhttp://jsfiddle.net/KbnSE/\r\n\r\n(Looking at the info text in the demo and try out the selectmenu.)\r\n\r\nPlease solve this in your code.","comments":2,"title":"jQuery.data()","updated_at":"2011-10-18T06:49:19Z","url":"https://api.github.com/repos/fnagel/jquery-ui/issues/178","id":1908433,"assignee":null,"milestone":null,"closed_at":"2011-10-18T06:49:19Z","user":{"gravatar_id":"7562015c2557091df356b409556b15e4","avatar_url":"https://secure.gravatar.com/avatar/7562015c2557091df356b409556b15e4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/shub01","id":1127717,"login":"shub01"},"html_url":"https://github.com/fnagel/jquery-ui/issues/178","labels":[{"name":"bug","url":"https://api.github.com/repos/fnagel/jquery-ui/labels/bug","color":"c41818"},{"name":"needs_feedback","url":"https://api.github.com/repos/fnagel/jquery-ui/labels/needs_feedback","color":"444444"},{"name":"_selectmenu","url":"https://api.github.com/repos/fnagel/jquery-ui/labels/_selectmenu","color":"ededed"}],"state":"closed"},"legacy":{"issue_id":1908433,"comment_id":2438596}}