Convert the string of any base to integer in JavaScript?
Type conversion also refers as typecasting. It is the process of transferring data from one data type to another. Implicit conversion
Get hash value from URL using JavaScript
Elements of a web page are sometimes changed based on the hash value (#) of the current URL. This is
Detect browser or tab closing in JavaScript
To detect browser or tab closing in javaScript we can use the onbeforeunload event. This event occurs when the document
Go Back to Previous Page
To return to the previous page, follow these steps:Step 1: First, make an HTML file and link two files together.Step 2:
Operators In JavaScript
JavaScript operators are symbols that are used to perform operations on operands.They are things like addition +, multiplication *, subtraction
Data Types in JavaScript
A DataType describes the different kinds of data that we can work with and storing in variables in javascript.JavaScript provides
How to show a confirmation message before delete
In JavaScript we can display a confirmation modal or pop on click of delete button. The confirmation modal asks for
How to get the name, size, and type of a file in JavaScript
Using JavaScript we can create a function which displays the name, size and type of the downloaded file along with
How to detect a mobile device with JavaScript
With JavaScript we can detect whether our page or website is running on a web browser or on a mobile
How to close the current tab in a browser window using JavaScript
Using JavaScript we can open and close current tab in a browser window with JavaScript. Here we are using