I want to print the page when page is load but i do not work why pl. help.
enter this javascript but could not any response.
function printpage()
{
window.print();
}
<body OnLoad="printpa ge()">
even this when i want to alert dialouge box it would also not give any response
<body onload="alert(' hello')">
enter this javascript but could not any response.
function printpage()
{
window.print();
}
<body OnLoad="printpa ge()">
even this when i want to alert dialouge box it would also not give any response
<body onload="alert(' hello')">
Comment