Ver Mensaje Individual
  #6 (permalink)  
Antiguo 25/12/2011, 18:53
edward18_1
 
Fecha de Ingreso: septiembre-2011
Mensajes: 480
Antigüedad: 12 años, 7 meses
Puntos: 18
Respuesta: ingresar datos en la URL

pude encontrar esto
Código Javascript:
Ver original
  1. <script>
  2.   if(window.location.hash) {
  3.       var hash = window.location.hash.substring(1); //Puts hash in variable, and removes the # character
  4.       alert (hash);
  5.       // hash found
  6.   } else {
  7.       // No hash found
  8.   }
  9. </script>

ahora solo me falta es hacer que este if...me funcione dentro de un onload....y la funcion que agregara el hash a la URL como lo hago? gracias