i everybody
im trying to merge two demo page whos finaly get latitude and longitude from googlemap and make it appear in a textarea to make it available to copy to clipboard by a button.
this is my test page
http://www.ma117.info/getadd4.html working with i.e. only
im able to display latlng in
Code:
<div id="latlng"</div>
but i need to make it appear in a textarea to be catch by clip variable
Code:
<td align="left"><textarea id="fe_text" cols=50 rows=5 ="clip.setText(this.value)">text here</textarea></td>
iv try
Code:
document.getElementById('latlng').value
but the error is undefined or OBJECT

thanks to help me to understand