JQuery Mobile Custom Theme Buttons
I just started using a jquery mobile custom theme instead of one of the defaults. Lots of issues...but the current one is that dynamically created buttons don't work as expected. I have some dynamic html I'm injecting via $("#container").append(...) <div> <a class="view-it" data-role="button" href="">View</a> </div> Because it's dynamic, I need to do $("*[data-role='button']").button(); to get it to initialize. Although my button now looks like a button, the anchor instead still looks like a hyperlink and the click event only fires when clicking on the hyperlink inside the button, not on other