Javascript [Electronic resources] : The Definitive Guide (4th Edition) نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Javascript [Electronic resources] : The Definitive Guide (4th Edition) - نسخه متنی

David Flanagan

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید

Availability


JavaScript 1.0


Synopsis

input.select( )

Description


The select( ) method selects the text displayed in
a Text, Textarea, Password, or FileUpload element. The effects of
selecting text may vary from platform to platform, but typically,
invoking this method produces the same result as the user dragging
the mouse across all the text in the specified Text object. On most
platforms, this produces the following effects:


  • The text is highlighted, often displayed with colors reversed.


  • If the text remains selected the next time the user types a
    character, the selected text is deleted and replaced with the newly
    typed character.


  • On some platforms, the text becomes available for cut-and-paste.



The user can usually deselect text by clicking in the Text object or
by moving the cursor. Once deselected, the user can add and delete
individual characters without replacing the entire text value.

/ 844