Posts

Showing posts with the label Jquery

Jquery

AJAX = Asynchronous JavaScript and XML. DOM = Document Object Model The DOM defines a standard for accessing HTML and XML documents: "The W3C Document Object Model (DOM) is a platform and language-neutral interface  that allows programs and scripts to dynamically access  and update the content, structure, and style of a document." Interview Question https://career.guru99.com/top-50-jquery-interview-questions/ Automatically Refresh or Reload Page using SetInterval() Method In the second example, I am using the SetInterval() method to call the .reload() function. <script>     $(document).ready(function() {         // Call refresh page function after 5000 milliseconds (or 5 seconds).         setInterval('refreshPage()', 5000);     });     function refreshPage() {         location.reload();     } </script> setInterval ( function () { ...