MarPlo

Hi,
Try replace:var ele=document.frames[frame1].document.getElementById(id1);
With this:var ele=document.getElementById(iframe_id).contentWindow.document.getElementById(id1);
- And use an ID in the <iframe>