close the survey window using button

Hello team

using a question free format

I put my code to create a "close this window" button
for when the respondent clicks on the button the survey window closes,
but my code does not recognize me.


<input type="button" value="close this window" onclick="window.close();" >



What will I be missing?

Resolved
2 replies