I managed to achieve what I wanted with this - document.getElementById('message').value += window.opener.location.href;
in the jquery file but I can't work out the proper jquery way. I'd love to know! On Sep 23, 9:42 pm, Stinhambo <[EMAIL PROTECTED]> wrote: > Hi all! > > I have some js that opens a popup window based on the rel attribute - > > $('a[rel="email_page"]').click(function(){ > > window.open(this.href,'mywindow','height=580,width=400,scrollTo,resizable=0,scrollbars=0,location=0','false'); > return false; > }); > > But what I want to achieve is to pass the parent url > (window.opener.href?) to the popup window and append the URL to the > contents of a textarea - > > <textarea id="message" name="message" rows="18" cols="40">I wanted to > send you a link to - ** ADD URL HERE ** </textarea> > > Any ideas?