spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / dhtml / column33
Developer News
Facebook Wants to Power Web-Wide Apps
OpenSolaris to Support Facebook, OpenSocial
Sun Takes a Shine to Linux in New Web Stack
Logo

Array Power, Part III
bringing the IE (and sometimes the Navigator) Array object up to par


This column is part of the DHTML Lab thread:
Creating a Web Application
It can be appreciated by users of any browser, any version.
In-page examples will work only in Explorer 4+ and Navigator 4+.

In our last column, Array Power, Part II, we continued prototyping Array object methods built-in to Netscape Navigator but missing from Internet Explorer.

Using the prototype property of the Array object, we created two new methods for Explorer, aligning it to the Navigator and ECMAScript standard:

push() and pop()

We also discussed the differences between the JavaScript 1.2 and JavaScript 1.3+ implementations of Array.push in Navigator, and forced JavaScript 1.2 interpretors to use JavaScript 1.3+ functionality.

In this column, the final one of three devoted to the topic, we'll look at the complex splice() method.

Once again, we'll prototype it for Explorer, and modify the built-in behavior assigned to it by JavaScript 1.2 in older versions of Navigator.

Prerequisites

First, let's see what splice() does.


Produced by Peter Belesis and



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Simple Comments Release Notes: v.960 · Adding Client Capabilities to Server Controls Using the ASP.NET AJAX Control Toolkit · How to Create an Ajax Autocomplete Text Field: Part 10
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
The NZXT Guardian 921 Gaming Chassis Offers Top Features and a Low Price · Beyond Simple File Sharing: Using Mapped Drives · RedAntenna's Widget and Marketing Helps Artists Sell Online

All Rights Reserved. Legal Notices.
Created: May 16, 2000
Revised: May 16, 2000

URL: http://www.webreference.com/dhtml/column33/