Talk:Prompt service

From MozillaZine Knowledge Base
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

I removed the enablePrivilede line, because it's seldom needed, never in extensions. Webpages should use simple alert/prompt/confirm etc.

//netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");

Also removed the "not working" and "finally" sections, as the first wasn't informative and second one no longer applies, as I heavily edited the article. I replaced it with a credit and a link to the original version.

--asqueella 11:12, 25 Apr 2005 (PDT)

Any way to specify drop-down listbox for select()?

For the select() method, is there any way to specify the listbox be a drop-down listbox instead of a listbox which displays all options with a scrollbar?

Kind of obvious that it can't be done. There aren't any parameters that control that. -asqueella