Load in div jquery ui datepicker component

Load in div jquery ui datepicker component

Hello all!
I have 2 files, index.php and cad.php
- Index.php load the content of cad.php into a div inside os index.php
- cad.php has a form with a datepicker component and buttons.
- butttons work fine, but datepicker dont!
- if i load cad.php directly in browse url, datepicker work fine, but load this into a div no :(

What can i do?

index.php load code:
  1.         $("#cad").click(function(evento){
                evento.preventDefault();
                $("#conteudo").load("cad.php", function(){

                });
            });





now cad.php code:
  1. <script type="text/javascript" src="jquery.tools.min.js"></script>
    <script src="js/jquery-ui/js/jquery-1.10.2.js"></script>
    <script src="js/jquery-ui/js/jquery-ui-1.10.4.custom.min.js"></script>
    <link href="js/jquery-ui/css/start/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css">

    <script>




  2.       $(function($) {
            $( "#datepicker" ).datepicker();
            $( "#botao1" ).button();

  3. });
    </script>
  4. <input type="button" id="botao1">
  5. <input type="text" id="datepicker">
I have cut cod useless for explanation

tanks for any help and sory for my bad english.