Código Javascript:
Ver original
<script type="text/javascript" src="js/campos_crear.js"></script> <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.10.custom.min.js"></script> <script type="text/javascript"> $(function() { $("#animal").autocomplete({ source: "auto_comple.php?getAnimales=1", select: function(event, ui) { } }); }); </script>