org.w3c.dom.html

Interface HTMLIsIndexElement

public interface HTMLIsIndexElement extends HTMLElement

This element is usedfor single-line text input. See the ISINDEX element definition in HTML 4.0. This element is deprecated in HTML 4.0.
Method Summary
HTMLFormElementgetForm()
Returns the FORM element containing this control.Returns null if this control is not within the context of a form.
StringgetPrompt()
The prompt message.
voidsetPrompt(String prompt)

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.0. This attribute is deprecated in HTML 4.0.

setPrompt

public void setPrompt(String prompt)