JavaScript http://kohnlehome.de/html/javascript-dialoge.pdf
JavaScript-Dialoge
1 Modales Dialogfenster mit OK-Button
a l e r t (" T e x t ") ;
2 Modales Dialogfenster mit OK- und Abbrechen-Button
var a n t w o r t = c o n f i r m (" F r a g e ? ") ; if ( a n t w o r t == t r u e )
// OK e l s e
// A b b r e c h e n
3 Modales Dialogfenster mit Eingabefeld, OK- und Abbrechen-Button
var a n t w o r t = p r o m p t (" F r a g e ? ") ; if ( a n t w o r t != n u l l )
// OK , T e x t in a n t w o r t e l s e
// A b b r e c h e n