GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing da.javascript.info — Editable div

  • Tutorial
  • Browser: Dokumenter, Hændelser, brugergrænseflader
  • Forms, controls
  • Focusing: focus/blur
tilbage til lektionen
Dette materiale er kun tilgængeligt på følgende sprog: Čeština, English, Español, فارسی, Français, Indonesia, Italiano, 日本語, 한국어, Русский, Українська, Oʻzbek, 简体中文. Hjælp os med at oversætte til Dansk.

Editable div

vigtighed: 5

Create a <div> that turns into <textarea> when clicked.

The textarea allows to edit the HTML in the <div>.

When the user presses Enter or it loses focus, the <textarea> turns back into <div>, and its content becomes HTML in <div>.

Demo i nyt vindue

Åbn en sandbox til opgaven.

Åbn løsningen i en sandbox.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.