![]() |
JavaScript Tutorial - نسخه قابل چاپ +- مشاوره فنی (https://gofteman.behsys.net) +-- انجمن: آموزش فنی (https://gofteman.behsys.net/forumdisplay.php?fid=1) +--- انجمن: آموزش نرم افزار (https://gofteman.behsys.net/forumdisplay.php?fid=3) +---- انجمن: آموزش جاوا اسکریپت (https://gofteman.behsys.net/forumdisplay.php?fid=18) +---- موضوع: JavaScript Tutorial (/showthread.php?tid=252) |
JavaScript Tutorial - ترانه - 06-08-2020 JavaScript is the world's most popular programming language. JavaScript is the programming language of the Web. JavaScript is easy to learn. ![]() RE: JavaScript Tutorial - پیمان - 03-09-2020 دوستان عزیزی که مشغول فراگیری جاوا اسکریپت هستید.
میتوانید دستورات جالب و کاربردی جاوا اسکریپت را در اینجا به سایر دوستانتان پیشنهاد کنید. ![]() RE: JavaScript Tutorial - ترانه - 05-09-2020 I want to print some HTML content, when the user clicks on a button. Once the user clicks on that button, the print dialog of the browser will open, but it will not print the webpage. Instead, it will print the some other HTML content which is not displayed on the page. Place your printable part inside a div with an id like this: نقل قول:<div id="printableArea">Now let's create a really simple javascript: نقل قول:function printDiv(divName) { Print a Page: <!DOCTYPE html> <html> <body> <h2>The window.print() Method</h2> <p>Click the button to print the current page.</p> <button onclick="window.print()">Print this page</button> </body> </html> |