Hi!,
I am trying to use js.
What I trying to do is that:
I have a text box, below/under that I use a IFRAME.
On IFRAME I have some rows of data.
Now I trying that when I click any one row or name of the IFRAME that
name / row data will come to text box,
on TEXT part I use [form name-- newnew]:
<b>Name:</b></td><td><input name="name1" type="text" size="34"
maxlength="33" onkeyup="showname(this.value)">
on IFRAME part I use:
<iframe name="test" align="top" frameborder="0" src ="./xyz.php"
width="250" height="55" scrolling="auto" marginheight="0"
marginwidth="0" onclick="seltxt(this.value)">
</iframe>
on JS part I use:
function seltxt(str)
{
document.iframe.getElementById("test")=document.fo rm["newnew"].getElementById('name1').value
}