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.

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

Listing 15-11 (continued)<br />

if (content) {<br />

document.all.label1.innerText = content<br />

}<br />

}<br />

function setGroupLabelAsHTML(form) {<br />

var content = form.HTMLInput.value<br />

if (content) {<br />

document.all.label1.innerHTML = content<br />

}<br />

}<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

ARTICLE I<br />

<br />

Congress shall make no law respecting an establishment of religion, or<br />

prohibiting the free exercise thereof; or abridging the freedom of speech, or of<br />

the press; or the right of the people peaceably to assemble, and to petition the<br />

government for a redress of grievances.<br />

<br />

<br />

<br />

isContentEditable<br />

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

Compatibility ✓<br />

elementObject.isContentEditable

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

Saved successfully!

Ooh no, something went wrong!