Press ESC to close

Or check our Popular Categories...

JAVASCRIPT

21   Articles
21

JavaScript is a dynamic and object-based programming language which is used for client-side scripting in web browsers. JavaScript can also be run outside of the browser with the use of a framework like node.js, Nashorn, Wakanda, or Google Apps Script.

C

Create GUID UUID in JavaScript

5 Min Read
0 5
5 Min Read
0 5

GUID : A GUID (Global Unique Identifier) is Microsoft’s implementation of a unique identifier (UUID). In its simplest form, Guid lets we generate raw GUID formatted strings: [pastacode lang=”javascript” manual=”Guid.raw()%3B%0A%2F%2F%20-%3E%20’6fdf6ffc-ed77-94fa-407e-a7b86ed9e59d’%0A” message=”JAVASCRIPT CODE”…

Continue Reading
4 Min Read
0 2

PROBLEM: How to Modify the URL without reloading the page? SOLUTION 1: Updating address bar with new URL without hash or reloading the page Example: [pastacode lang=”javascript” manual=”%20function%20processAjaxData(response%2C%20urlPath)%0A%7B%0A%20%20%20%20%20document.getElementById(%22content%22).innerHTML%20%3D%20response.html%3B%0A%20%20%20%20%20document.title%20%3D%20response.pageTitle%3B%0A%20%20%20%20%20window.history.pushState(%7B%22html%22%3Aresponse.html%2C%22pageTitle%22%3Aresponse.pageTitle%7D%2C%22%22%2C%20urlPath)%3B%0A%20%7D%0A%0A” message=”javascript code”…

Continue Reading
X