Talk:Prompt service: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
 
(Any way to specify drop-down listbox for select()?)
Line 5: Line 5:


--[[User:Asqueella|asqueella]] 11:12, 25 Apr 2005 (PDT)
--[[User:Asqueella|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?

Revision as of 04:02, 28 April 2005

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?