JavaScript Archive

what are the methods of Document Object Model

Method Description alert(msg) Displays a dialog box with a specified message and an OK button blur() Removes focus from this window clearInterval(ID) Cancels a timeout that was set using the setInterval() method clearTimeout(ID) Cancels a timeout that was set using the setTimeout() …

How to make HTML dynamic using JavaScript

JavaScript code is executed within the web pages. So, your web page contains not only HTML tags but also statements (scripts) written using a scripting language like JavaScript. There are two ways to include JavaScript in our web pages. One way is …

Like the article? please consider sharing it. Thank you

Advertisment ad adsense adlogger