JavaScript substring vs. substr with Examples - The Difference Between JavaScript String Extraction FunctionsWhen you write JavaScript, you need to know string manipulation functions. There is a slight difference between JavaScript substring() and JavaScript substr() which are both used to extract characters from strings.
Cross-Browser JavaScript Events - Commonly Supported Events that are Safe to UseThe combination of JavaScript and HTML is called as DHTML (Dynamic HTML). Since not all browsers support the same level of DHTML, the events you can use and the way events work vary from browser to browser.
The following table contains the JavaScript events that are safe for browsers (Cross-Brows...
JavaScript setInterval Function - JavaScript Timing EventsJavaScript features a couple of methods that lets you run a piece of JavaScript code (javascript function) at some point in the future. These methods are: setTimeout() and setInterval().
In this tutorial, I'll explain how setInterval() method works, and give a real world example.