DRYな備忘録

Don't Repeat Yourself.

2012-02-16から1日間の記事一覧

動的に生成した構造物が、jQueryMobileのCSSに乗らない【jQueryMobile】

【問題】 jQueryMobileで、動的に生成した構造物が、 用意しているjQueryMobileのCSSに乗らない。 (参考) <script src="jquery.js"></script> <script src="jquery.mobile.js"></script> <link rel="sytlesheet" href="jquery.mobile.css"/> <script> $("#create").click(function(){ $("#hogehoge").append("<li>hoge_newly_created</li>"); }); </script> <…</link>