Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/01/2013, 11:49
Avatar de Panino5001
Panino5001
Me alejo de Omelas
 
Fecha de Ingreso: mayo-2004
Ubicación: -34.637167,-58.462984
Mensajes: 5.148
Antigüedad: 20 años
Puntos: 834
Respuesta: guardado de datos en una cookie mas -moz-selection

Para la selección fijate si te sirve esto:
Código PHP:
<!DOCTYPE html>
<
html>
<
head>
<
meta charset="utf-8" />
<
title>boo</title>
<
script type="text/javascript">
function 
capturar(){
    var 
sel=(document.selection && document.selection.createRange().text) || getSelection();
    if(
sel.toString().length)
        
alert(sel);
}
document.onmouseup=capturar;
</script>
</head>
<body>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</body>
</html> 
En lugar de cookies usá localStorage, que es más simple y probablemente te resulte igualmente útil para tus propósitos ;)