Creating a yes/no messagebox in Javascript

Discussion in 'ASP .Net' started by John, Jul 19, 2003.

  1. John

    John Guest

    Hi all,

    Is it possible to create a Javascript messagebox that shows the buttons Yes
    and No instead of normal confirm?

    John, Jul 19, 2003
    1. Advertisements

  2. Craig Deelsnyder [MVP], Jul 19, 2003
    1. Advertisements

  3. Craig Deelsnyder [MVP], Jul 19, 2003
  4. Vidar Petursson, Jul 19, 2003
  5. John

    clintonG Guest

    clintonG, Jul 19, 2003
  6. mine doesn't do that....why would a popup blocker get involved with that
    javascript? It's an 'alert' box, not a separate window.....even though
    some sites love to also use alerts to advertise...

    not to say blockers don't do this, I just didn't know they got that
    'intrusive' (in my opinion).....
    Craig Deelsnyder [MVP], Jul 19, 2003
  7. John


    Sep 19, 2011
    Likes Received:
    Re: Message Box in Javascript

    :yell:Hello Everyone,
    n Java Script there are two types of message box for displaying information. One is known as “alert” and another one is known as “confirm”. If you want to display an alert or warning regarding programs then we use alert () method for displaying message box and if we want to take some confirmation from user then we use confirm () method for displaying message box........... for more details please check out the following links........................
    ..... a message box in java script

    Thanks a lot!!!!!!
    JohnPantoo, Sep 23, 2011
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.