Mozilla/mozilla/dom/public/idl/html/HTMLSelectElement.idl
pollmann%netscape.com a3b50445fa Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
git-svn-id: svn://10.0.0.236/trunk@61543 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 00:08:00 +00:00

30 lines
1.2 KiB
Plaintext

interface HTMLSelectElement : HTMLElement {
/* IID: { 0xa6cf9090, 0x15b3, 0x11d2, \
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } } */
readonly attribute DOMString type;
attribute long selectedIndex;
attribute DOMString value;
attribute unsigned long length;
readonly attribute HTMLFormElement form;
readonly attribute NSHTMLOptionCollection options;
attribute boolean disabled;
attribute boolean multiple;
attribute DOMString name;
attribute long size;
attribute long tabIndex;
void add(in HTMLElement element,
in HTMLElement before);
void remove(in long index);
void blur();
void focus();
};
interface NSHTMLSelectElement {
/* IID: { 0xa6cf9105, 0x15b3, 0x11d2, \
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } } */
Node item(in unsigned long index);
Node namedItem(in DOMString name);
};