Ver Mensaje Individual
  #10 (permalink)  
Antiguo 16/06/2009, 23:52
Avatar de miguec04
miguec04
 
Fecha de Ingreso: agosto-2008
Ubicación: Cimitarra, Santander
Mensajes: 378
Antigüedad: 15 años, 8 meses
Puntos: 15
Respuesta: [Aporte] PermaLink en Ajax Con jQuery & PHP

perdon por lo torpe que soy pero no he podido hize lo siuiente no se si me puedes corregir

<?php
$url = $_SERVER['REQUEST_URI'];
$d = split("&",$url);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Inicio</title>

<script language="javascript">

$(document).ready(function(){
if(<?php echo $d[1]; ?> != ""){
$.ajax({
url: "<?php echo $d[1];?>.php?parametro1=<?php echo $d[2];?>",
success: function(datos){
$("#contenido").html(datos);
},
type: "GET",
});
}
});
</script>
</head>
<body>
<div id="contenido" style="width:30px;height:300px"></div>
<a href="?=&pagina.php&parametro1=1">Link</a>
</body>
</html>

eso no no me funciona soy un torpe ayudame es que no entiendo muchas gracias mi correo es [email protected] te agradezco de corazon.
__________________
Desoftc Technology - Miguel Carmona
Creaciones Inteligentes - Cimitarra Colombia
[email protected]
http://www.desoftc.com.co