Mobile CSS gets lost after using ajax to update content
I'm using jquery mobile for my site and its working great, but I have one page that has a series of <select> menus that update via ajax. As soon as that div updates, all the mobile styles go away and I'm left with regular select pulldowns. How do I apply the mobile css to these? I was trying something like this, but without success(it gives me an error):
$("select").live("change", function(){ $("#options").load("/products/mobile-product-options.php", $("#product_form").serialize()); $("#options").live( "mobileinit" ); });
Any help is greatly appreciated, this is the last piece i need to fix before I can push my app live!