Programming

JavaScript setAttribute()

JavaScript setAttribute() Method-What It Is/How to Use It [Examples]

JavaScript was built for adding interactivity to web pages. It can interact with and modify on-screen elements, including their HTML attributes – thats what setAttribute() does. Here’s how to use it. What is the HTML DOM? The HTML DOM (Document Object Model) is the interface which JavaScript… Read More »JavaScript setAttribute() Method-What It Is/How to Use It [Examples]

JavaScript toUpperCase()

Using the JavaScript toUpperCase() String Method [Examples]

This article shows how the toUpperCase() method is used in JavaScript to make all letters in a string UPPER CASE. The toUpperCase() method is included in the string object and is fully supported in all browsers. In the JavaScript programming language, strings can either be a primitive or an object – primitives are the most… Read More »Using the JavaScript toUpperCase() String Method [Examples]