Forum Moderators: open
Does anyone know the javascript codes for this?
Thanks
You can either open up a new window by the JavaScript window.open, or have a target in the URL e.g. target="newwindowname"
To close the popup window after the submit you would use window.close()
But before you did so you would want to do something like window.opener.location="thankyou.url" in the popup's javascript.
You will find that people on here are quite willing to help you find bugs in code and suggest improvements, but if you are wanting someone to write you code from scratch you are unlikely to receive much help unless you offer to hire someone to do the work.