after load() styles are lost

after load() styles are lost

hi,

i am loading some content and placing it in a div. the content contains several different form elements, unfortunately jquery mobile doesn't update the styles. i have seen tons of articles and posts about that issues and none of them seem to help my case. what to do?

this is some of my html

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>test</title>

  5. <link rel="stylesheet"  href="jquery.mobile-1.3.0/jquery.mobile-1.3.0.css">
  6. <script src="http://code.jquery.com/jquery-1.8.2.js"></script>
  7. <script src="jquery.mobile-1.3.0/jquery.mobile-1.3.0.js"></script>

  8. <script>
  9. $(document).ready(function() {
  10. $("a.link1").click(function() {
  11. $("#here").load("fall2.html");
  12. $("#here").trigger("create");
  13. });
  14. });
  15. </script>
  16. </head>
  17. <body>
  18. <div data-role="page">

  19. <div data-role="panel" data-position="left" data-display="push" id="mypanel">
  20. <div class="ui-bar ui-bar-a">Topic</div>
  21. <div>
  22. <ul data-role="listview">
  23. <li><a class="link1" href="#fall_1">Fall 1</a></li>
  24. </ul>
  25. </div>
  26. </div>

  27. <div data-role="header" id="p_header">
  28. <h1>Test</h1>
  29. <a href="#mypanel" data-icon="bars" data-iconpos="notext">Navigation</a>
  30. </div>

  31. <div data-role="content" id="here" class="ui-grid-a">
  32. <div class="ui-block-a">
  33. text
  34. </div>
  35. <div class="ui-block-b">
  36. <fieldset data-role="controlgroup">
  37. <input type="radio" name="radio-choice-1" id="radio-choice-1" value="choice-1" checked="checked">
  38. <label for="radio-choice-1">1</label>
  39. <input type="radio" name="radio-choice-1" id="radio-choice-2" value="choice-2">
  40. <label for="radio-choice-2">2</label>
  41. <input type="radio" name="radio-choice-1" id="radio-choice-3" value="choice-3">
  42. <label for="radio-choice-3">3</label>
  43. <input type="radio" name="radio-choice-1" id="radio-choice-4" value="choice-4">
  44. <label for="radio-choice-4">4</label>
  45. </fieldset>
  46. </div>
  47. </div>
  48. </div>
  49. </body>
  50. </html>

what's wrong?

thank you for the help