Results 1 to 3 of 3

Thread: Javascript confirm function

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 1999
    Posts
    26

    Javascript confirm function

    When using the Javascript CONFIRM() function the buttons labeled are OK and CANCEL.
    Is there any way to change these labels, or is there a way of creating a similar function so I can label the buttons in the way I want?

    Peter

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    I don't think there is - as this is up to the browser, not really even javascript.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    What you can do is create the appearance of a confirmation dialog, using HTML and CSS and lots of JavaScript. This will fail miserably if conditions are not ideal (blind users as an example).
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width