• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Actual Wizard

Actual Wizard

Great Content From Actual Wizards

  • Blogging
  • Programming
  • Social Media
  • Marketing

JavaScript

How to Get the Last Element of an Array in JavaScript

November 17, 2020 by Kevin Marszalek

There are a number of different ways to get the last element of an array in JavaScript. Below we will explore those techniques, each with a simple example. The Most Common Technique Using length() -1 The … [Read more...] about How to Get the Last Element of an Array in JavaScript

Filed Under: JavaScript

How to use document.write() in JavaScript

November 17, 2020 by Kevin Marszalek

How to use document.write() in JavaScript The document.write() function is commonly used when testing simple web applications or when learning JavaScript. document.write() will print the contents of the parameter … [Read more...] about How to use document.write() in JavaScript

Filed Under: JavaScript

How to Open a New Tab with JavaScript

November 17, 2020 by Kevin Marszalek

Opening a new browser window in a new tab can be done easily in JavaScript. Modern web browsers provide a simple API that creates an interface called the window object. Since the goal is to open a new location in … [Read more...] about How to Open a New Tab with JavaScript

Filed Under: JavaScript

JavaScript String lastIndexOf Method Explained

September 10, 2020 by Kevin Marszalek

The lastIndexOf() method is useful for determining the index at which a string is contained in another string. If the string that is passed as a parameter to the lastIndexOf() method does not exist in the string, … [Read more...] about JavaScript String lastIndexOf Method Explained

Filed Under: JavaScript

JavaScript String Italics Method Explained

August 29, 2020 by Kevin Marszalek

The HTML code to wrap text in HTML italics tags can be generated using JavaScript. Important Note: The italics method is not standardized and may not behave consistently in all browsers. It should be avoided … [Read more...] about JavaScript String Italics Method Explained

Filed Under: JavaScript

JavaScript String indexOf Method Explained

August 29, 2020 by Kevin Marszalek

The indexOf() method is useful for determining the index at which a string starts at, if that string is contained inside another string. If the string that is passed as a parameter to the indexOf() method does not … [Read more...] about JavaScript String indexOf Method Explained

Filed Under: JavaScript

JavaScript String includes Method Explained

August 29, 2020 by Kevin Marszalek

The includes() method is useful for determining if a string contains a predetermined value. Note: This method will return a boolean value. The example below demonstrates a typical use case for the includes() … [Read more...] about JavaScript String includes Method Explained

Filed Under: JavaScript

JavaScript String fromCodePoint Method Explained

August 23, 2020 by Kevin Marszalek

The fromCodePoint() method allows JavaScript to create a string from a sequence of UTF-16 or UTF-32 character codes and is useful for dealing with characters that are difficult to type or need to be escaped. Note: … [Read more...] about JavaScript String fromCodePoint Method Explained

Filed Under: JavaScript

JavaScript String fromCharCode Method Explained

August 21, 2020 by Kevin Marszalek

The fromCharCode() method allows JavaScript to create a string from a sequence of UTF-16 character codes and is useful for dealing with characters that are difficult to type or need to be escaped. Note: This method … [Read more...] about JavaScript String fromCharCode Method Explained

Filed Under: JavaScript

How to Convert an HTML Node to a String in JavaScript

August 20, 2020 by Kevin Marszalek

For various reasons, you may want to get the HTML code of a specific element in an HTML document. This is relatively easy to do, with the main problem being that you will need to identify a unique way to select the … [Read more...] about How to Convert an HTML Node to a String in JavaScript

Filed Under: JavaScript

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to Next Page »

Primary Sidebar

From the same category

  • How to Get the Last Element of an Array in JavaScript
  • How to use document.write() in JavaScript
  • How to Open a New Tab with JavaScript
  • How to Convert an HTML Node to a String in JavaScript
  • JavaScript String Anchor Method Explained
  • JavaScript String Big Method Explained
  • JavaScript String Blink Method Explained
  • JavaScript String Bold Method Explained
  • JavaScript String charAt Method Explained
  • JavaScript String charCodeAt Method Explained

Copyright © 2025 ActualWizard.com

  • About
  • Terms of Service
  • Privacy Policy
  • Cookie Policy