<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
bueno yo en el ejemplo de openlayers click probe a dejar asi<BR>
la funcion trigger, talvez funcione<BR>
 <BR>
 <BR>
trigger: function(e) {                   <BR>
var lonlat = map.getLonLatFromViewPortPx(e.xy).clone().transform(map.getProjectionObject(), new OpenLayers.Projection('EPSG:4326'));<BR>
   alert("You clicked near " + lonlat.lat + ", "   + lonlat.lon + "");     <BR>
 }<BR>
 <BR>
y si quieres pasar los datos a algo en la misma pagina usas algo asi<BR>
 <BR>
 <BR>
 <BR>
trigger: function(e) {                   <BR>
var lonlat = map.getLonLatFromViewPortPx(e.xy).clone().transform(map.getProjectionObject(), new OpenLayers.Projection('EPSG:4326'));<BR>
   alert("You clicked near " + lonlat.lat + ", "   + lonlat.lon + "");   <BR>
document.getElementById(.......).value=lonlat.lon;<BR>
document.getElementById(.......).value=lonlat.lat;  <BR>
 }<BR>
<BR> donde los ........ es el elemento al que se desea llevar los datos<BR>                                      <br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>