15.02.2013 Views

JavaScript Examples Bible - UserWorks Technologies

JavaScript Examples Bible - UserWorks Technologies

JavaScript Examples Bible - UserWorks Technologies

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

296<br />

<strong>JavaScript</strong> <strong>Examples</strong> <strong>Bible</strong>: The Essential Companion to <strong>JavaScript</strong> <strong>Bible</strong><br />

Listing 19-8 (continued)<br />

break<br />

default:<br />

alert(“Double-check your text box entries.”)<br />

}<br />

}<br />

<br />

<br />

<br />

Data Methods of a W3C Text Object<br />

<br />

<br />

So I called myself Pip, and became to be called Pip.<br />

<br />

<br />

String:<br />

<br />

Offset:<br />

Count:<br />

<br />

Offset:<br />

String:<br />

<br />

Offset:<br />

Count:<br />

String:<br />

<br />

Offset:<br />

Count:<br />

<br />

<br />

<br />

TextNode.splitText()<br />

splitText(offset)<br />

NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5<br />

Compatibility ✓ ✓ ✓

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!