org.w3c.dom.html2

Interface HTMLIsIndexElement

public interface HTMLIsIndexElement extends HTMLElement

This element is used for single-line text input. See the ISINDEX element definition in HTML 4.01. This element is deprecated in HTML 4.01.

See also the Document Object Model (DOM) Level 2 HTML Specification.

Method Summary
HTMLFormElementgetForm()
Returns the FORM element containing this control.
StringgetPrompt()
The prompt message.
voidsetPrompt(String prompt)
The prompt message.

Method Detail

getForm

public HTMLFormElement getForm()
Returns the FORM element containing this control. Returns null if this control is not within the context of a form.

getPrompt

public String getPrompt()
The prompt message. See the prompt attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

setPrompt

public void setPrompt(String prompt)
The prompt message. See the prompt attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.