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.