Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/11/2009, 12:58
mhax
 
Fecha de Ingreso: agosto-2009
Ubicación: Cartagena, Colombia
Mensajes: 516
Antigüedad: 14 años, 8 meses
Puntos: 13
Pregunta Problema con include

Saludos:::::::::::::::

realize un .html que contiene un input con calendario, muestro el codigo:
Código html:
Ver original
  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head>  
  3.   <link type="text/css"rel="stylesheet" href="../style/date.css" />
  4.   <script type="text/javascript" src="../../C/date1.js"></script>
  5.   <script type="text/javascript" src="../../C/date2.js"></script>
  6.   <script type="text/javascript">
  7.       $(document).ready(function() {
  8.           $('#txtFechaSimple').datepicker();
  9.       });
  10.   </script>
  11. </head>
  12.   <form id="form1" action="">
  13.     <div><input id="txtFechaSimple" type="text" /></div>
  14.     <input type="button" value="Buscar" onclick="alert('Falta buscar por fecha')">
  15.   </form>
  16. </body>

esto funciona correctamente, pero cuando lo incluyo en una .php no sale el calendario

codigo.php:
<?php
if($tipo == "fec")
include '../../V/formularios/Fecha.htnl';
?>

los paths de cada archivo son:
Control/date1.js
Control/date2.js
Vista/formularios/Fecha.html
Modelo/buscar/codigo.php

que sucede???