Found my own anser from earlier post. This worked: $(function() { $("#dollar1").bind("click",function() { $("#EndUser",top.document).val( $("#setEndUser").val() ); }); }); On Thu, Jun 11, 2009 at 9:36 AM, robert...@gmail.com <robert...@gmail.com>wrote:
> Hello, > > I have a page in an Iframe and when the user clicks a image (href), I > want a value to be set in the parent page. I don't know why this is > not working...please assist. > > In the iframe page , dollar1 is the id of the Imagebutton, then I have > a hidden variable id= setEndUser. On the parent page I have a textbox > id = Enduser. > > $(function() { > $("#dollar1").bind("click",function() { > $("#EndUserT").parent().val( $("#setEndUser").val() ); > }); > }); > > -- Thanks, Robert Bruce