473,231 Members | 1,539 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,231 software developers and data experts.

finestra di messaggio con pulsante

Come si inseriscono pulsanti particolari ( ad esempio OK,VA
BENE,CANCELLA,ANNULLA,SI,NO...) in un alert ?

Ad esempio:

alert("Posso entrare?")
if (confirm("Possiamo entrare?"))
alert("Auguri!");
else
alert('Allora vaffanculo!');

La finestra che compare contiene i pulsanti OK e ANNULLA , io vorrei i
pulsanti SI e NO .

Ciao e grazie
Jul 23 '05 #1
1 1986


Gabriele wrote:
Come si inseriscono pulsanti particolari ( ad esempio OK,VA
BENE,CANCELLA,ANNULLA,SI,NO...) in un alert ?

Ad esempio:

alert("Posso entrare?")
if (confirm("Possiamo entrare?"))
alert("Auguri!");
else
alert('Allora vaffanculo!');

La finestra che compare contiene i pulsanti OK e ANNULLA , io vorrei i
pulsanti SI e NO .


You cannot change the buttons in an alert or confirm dialog. However
with MS IE you can build dialogs with HTML and show them with
window.showModalDialog('dialog.html', args, features)
so for that browser you could create your own dialogs as needed.
Documentation is here:
http://msdn.microsoft.com/library/de...odaldialog.asp

And I have only been guessing what your question is about.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: giancaMI | last post by:
Salve a tutti, la mia configurazione è la seguente: win 2k sp4 dreamweaver MX 2004 MySql ver. 4.1 su pc locale IIS Microsoft installato dunque, dopo avere installato MySql (che funziona...
3
by: Augusto | last post by:
Ciao a tutti, premetto a tutti che stò imparando proprio adesso a studiare python ed ho il seguente problema ... questo script copiato pari pari da un tutorial mi ridà un'errore che non capisco.....
6
by: max(01)* | last post by:
hi people. when i create a widget, such as a toplevel window, and then i destroy it, how can i test that it has been destroyed? the problem is that even after it has been destroyed, the instance...
5
by: max(01)* | last post by:
hello. the following code: 1 from Tkinter import * 2 3 class MiaApp: 4 def __init__(self, genitore): 5 self.mioGenitore = genitore 6 self.i = IntVar()
4
by: Fabrizio | last post by:
I've this problem. I need, when the user close the web page, to show a message of confirm with Ok and cancel. With the event unload when I click cancel the web page closes however. What can I do...
5
by: A.Dagostino | last post by:
hi i need to update an SQL Table when user select or unselect a checkbox control. How Can i do? Thanks Alex
5
by: Ale | last post by:
Ciao a tutti. Ho eliminato il database di esempio SAMPLE(non cancellato). Ora lo voglio reinstallare ma durante l'installazione mi da il seguente errore: nella finestra con scritto SQL1005N c'è...
0
by: | last post by:
Hai un nuovo messaggio da Morena227. Per ascolto chiama da fisso lo 89-9030-521. Il messaggio rimarrà nel sistema per 15 giorni, poi si provvederà all'eliminazione. Lo Staff non è responsabile del...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.