data-role style lost after .load()

data-role style lost after .load()

hello,

after a reload of a div by using .load() the data-role mobile style is lost :-(
i use this code:

  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Untitled Document</title>
  5. <link href="../js/jquery.mobile-1.0a3/jquery.mobile-1.0a3.css" rel="stylesheet" type="text/css" />
  6. <script type="text/javascript" src="../js/jquery.js"></script>
  7. <script type="text/javascript" src="../js/jquery.mobile-1.0a3/jquery.mobile-1.0a3.js"></script>   
  8. </head>

  9. <body>

  10. <div data-role="page">
  11.     
  12.         <div data-role="content">
  13.         
  14.          <div id="mitte" style="width:500px; height:500px; margin:0 auto; border:5px solid black;">
  15.             
  16.                 
  17.             </div>
  18.             
  19.             <a id="laden" data-role="button">laden</a>
  20.             
  21.             <script type="text/javascript">

  22. $('#laden').click(function() {
  23. $('#mitte').load('test.php');
  24. });
  25.             </script>
  26.             
  27. </div>
  28.         
  29. </div>
  30.     
  31.     
  32. </body>
  33. </html>

and this is the sorce of test.php

  1. <div data-role="collapsible" data-collapsed="true">
  2. <h3>test</h3>
  3. text....
  4. </div>
anybody an idea?