Here's an example of a function that is used to pass an IP address back to a form in another window
You could probably modify it to produce the ouput that you're wanting
Function
Quote:
<script type='text/javascript'>
function sendtoOpener(theip)
{
window.opener.form_name.field_name.value=theip
self.close()
}
</script>
|
Usage
Quote:
<span onClick="sendtoOpener('192.168.0.1')">192.168.0.1</span>
|