Hi,

I wrote the below code in javascript function. This function will be invoked on click of button. New window is getting opened with the desired content. On the line of print, javascript is...