javascript that ask yes or no

Discussion in 'Javascript' started by Wouter, Mar 7, 2005.

  1. Wouter

    Wouter Guest


    I need a script that askes yes or no in a page. I know only how i most make
    it in a link... But i need it not in a link. Can somehelp whit this ?

    Greets Wouter
    Wouter, Mar 7, 2005
    1. Advertisements

  2. Wouter

    frizzle Guest

    i think you want a 'confirm'-dialog box.

    function AnswerMe()
    //do this if answer is ok.
    // do this if person pressed 'cancel'
    return false
    frizzle, Mar 7, 2005
    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.