I need to get the coordinates of the click when the user clicks on any place on the base map. I have checked the answer to similar problem here: How do I get the coordinates of a click on vector feature/layer in OpenLayers?
But, I need the coordinates transformed to the projection system used by my map: that is EPSG:900913, Spherical Mercator Projection and passed to a html textbox.
How can I do that?