use window.location.href to get the current URL
Continue readingCategory: Javascript
How to convert JSON string to Object
Server always return an object in string format because when we store JSON object to server we are preferring to covert JSON into string format […]
Continue readingHow to convert JSON Object to String
If you want to send the JSON object to backend, you should convert the JSON to String format. See below example, Convert above object to […]
Continue readingHow to redirect one page to another page or another url in javascript
There are lot of methods to redirect, in this blog I am going to show you the popular methods with example. Method 1: Redirect to […]
Continue readingHow to capture screenshot of a div in javascript
In this blog I am going to show you how to take screenshot in javascript and how to pass the screenshot image to backend. Libraries […]
Continue reading