JavaScript array methods
This tutorial explains how to use the following array methods in JavaScript: push() to append elements to the end of an array pop() to remove the last element from an array …
This tutorial explains how to use the following array methods in JavaScript: push() to append elements to the end of an array pop() to remove the last element from an array …
This tutorial explains how to use the htmlentities and strip_tags functions in PHP to ignore or strip HTML tags in strings. You may want to do this if you are …
This tutorial explains how to create forms which include a range of form elements include text (textbox), textarea, and password. text – this element is used to get a short …
This tutorial explains how to use the extract function in PHP on an array. The extract function is used to turn array elements into variables. It works on only associative arrays – …
The sample code shows how to use jQuery to push the elements inside a 2D array into an HTML table. If you are not familiar with jQuery, click here to …
This tutorial will explain how to create, access, and modify elements in a multi-dimension array. In the example here, we will work with a 2D (two-dimension) array in JavaScript. We …
If you have been following the previous tutorials you should now be familiar with both arrays and for loops. In this tutorial, we are going to use both of these coding …
This tutorial explains how to find the length of an array (how many elements are in an array), the length of an element in an array, and the length of …
This tutorial explains how to create an array in JavaScript. An array is a data structure (a way of storing and organising data) which, unlike variables, can store more than one value …