I have a link in a page which I am using for print the page using window.print(),
I want reason why this is not showing preview in Chrome until unless I Add return false in after window.print().
I have a link in a page which I am using for print the
Share
return false;prevents the default action taken by the browser. In a link’s case, it prevents the link from being followed.