This tutorial show you how to set the CSS style to the html element using JavaScript. To set the CSS […]
Updated on Kisan Patel
To find out the html elements by their tag names, we need to use JavaScript getElementsByTagName method. <script type=”text/javascript” language=”javascript”> […]
Updated on Kisan Patel
To get the html element by their id attribute, we need to use HTML DOM getElementById() Method. <script language=”javascript” type=”text/javascript”> […]
Updated on Kisan Patel
Just add the below code in the head section of the html page. <script type=”text/javascript”> window.onunload=function(){ window.history.forward(); }; </script> The […]
Updated on Kisan Patel
Just add the oncontextmenu attribute to body tag as shown in below code: <body oncontextmenu=”return false;”> … </body>
Updated on Kisan Patel