FUNCIONA:
Código Javascript:
Ver original
<!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>ATENEA</title> <link href="<?php echo "$css" ?>" rel="stylesheet" type="text/css" /> <!--BUSQUEDA REAL DE USUARIOS POR LOGIN --> <script type="text/javascript" src="<?php echo $includes;?>/ajax_framework.js"></script> <script> function meter(que) { document.getElementById("search-q").value=que; document.getElementById("results").innerHTML=""; document.getElementById("results").style.display="none"; } </script> </head>
NO FUCNIONA:
Código Javascript:
Ver original
<!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>ATENEA</title> <link href="<?php echo "$css" ?>" rel="stylesheet" type="text/css" /> <!--BUSQUEDA REAL DE USUARIOS POR LOGIN --> <script type="text/javascript" src="<?php echo $includes;?>/ajax_framework.js"></script> <script type="text/javascript" src="<?php echo $includes;?>/ajax_frameworkc.js"></script> <script> function meter(que) { document.getElementById("search-q").value=que; document.getElementById("results").innerHTML=""; document.getElementById("results").style.display="none"; } </script> <script> function meter(que) { document.getElementById("search-c").value=que; document.getElementById("results").innerHTML=""; document.getElementById("results").style.display="none"; } </script> </head>