In my JQ Mobile project I am using JQuery to create a button and append it to a div:
var input = '<input type="button" class="save_event" value="Save"/>';
$('.event').append(input);
However, this button seems exempt from Jquery Mobiles styling - it just appears as a normal webkit button. Would anyone know of a way to allow JQM's CSS to style this element?