Need to allow user response in $$Return

I have a JS button that creates a window:

var urlpath = document.forms[0].Calc_Path.value

mywindow = window.open(urlpath ,“QueryWindow”,‘width=450,height=400,screenX=700,screenY=250’)

called QueryWindow and loads a form into it. The user submits the form and the contents of $$Return is displayed in the QueryWindow window. The form is properly submitted and saved. What I want to do is have a button generated by the $$Return field that when the user clicks it does a window.destroy on the QueryWindow. I’m not sure how to accomplish this.

Thanks for any help, my web design skills are a little weak.

Subject: Need to allow user response in $$Return

You can print out javascript in the $$Return. For example

“”

Or something like that, I didnt test before posting but you can definitely do that.

HTH

Simon

Subject: RE: Need to allow user response in $$Return

If you don’t want it to happen automatically, just put it in a link.

Thanks, that was smashing! Just click close now.

Close