Tag: javascript
JS Errors On Android Browser
How to view JS errors when accessing a webpage on Android mobile? Steps to view JS errors: Open the Developer Options setting on your Android Device. If you are not able to see the developer option then you need to
Custom Javascript in Moodle/Totara, Javascript & AMD Modules
How can we add custom Javascript in Moodle/Totara, Javascript & AMD modules? A Javascript module is a collection of Javascript code. It enhances the reusability of this code. As a result, it is called/used from alternative javascript files. These modules
Various Array helper methods in Javascript
Explanation of various Array helper methods in Javascript with example The various methods I am going to discuss below are a part of functional programming in Javascript. In functional programming output of the method depends on the arguments passed to
Download byte array as a file in ASP .NET MVC and Javascript
How to download byte array as a file in ASP .NET MVC and Javascript? Here is a simple approach to invoke file download operation in the browser for bytes array available on the server: I am receiving the file in
Selenium Webdriver with JavaScript (JavaScriptExecutor)
How to Use Selenium Webdriver with JavaScript? Selenium is an open source automation testing tool. It is used to test the web application. Selenium supports multiple languages to create an automation script such as Java, Python, PHP, C#, Ruby. In
Nodejs callback with example
Nodejs callback A callback is a function that can be called on the completion of a given task to prevent blocking. As a result of it other code will run without waiting for a task to complete. This feature makes