Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. JavaScript
  4. Yes/No Option in Javascript

Yes/No Option in Javascript

Scheduled Pinned Locked Moved JavaScript
tutorialcsharpjavascriptcom
6 Posts 5 Posters 21 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Toniyo Jackson
    wrote on last edited by
    #1

    Hi, I am using confirm('Do you want to proceed?'). But here am getting Ok/Cancel alert. But i need Yes/No option. How to do that?

    My first article in Best VB.NET article of January 2011 competition. Step by Step Creation of Crystal Report using its features Group, Graph, Cross-Tab and Sub report[^]

    P S A M 4 Replies Last reply
    0
    • T Toniyo Jackson

      Hi, I am using confirm('Do you want to proceed?'). But here am getting Ok/Cancel alert. But i need Yes/No option. How to do that?

      My first article in Best VB.NET article of January 2011 competition. Step by Step Creation of Crystal Report using its features Group, Graph, Cross-Tab and Sub report[^]

      P Offline
      P Offline
      Pravin Patil Mumbai
      wrote on last edited by
      #2

      Unfortunately Javascript does not provide Yes/No pop up. But you can develop your own HTML form with YES / No buttons. You can find some information on modal dialog box using javascript at http://javascript.about.com/library/blmodald1.htm[^]

      1 Reply Last reply
      0
      • T Toniyo Jackson

        Hi, I am using confirm('Do you want to proceed?'). But here am getting Ok/Cancel alert. But i need Yes/No option. How to do that?

        My first article in Best VB.NET article of January 2011 competition. Step by Step Creation of Crystal Report using its features Group, Graph, Cross-Tab and Sub report[^]

        S Offline
        S Offline
        Sunasara Imdadhusen
        wrote on last edited by
        #3

        Hi, You can find solution from here jQuery UI - Dialog Demos & Documentation Thanks, Imdadhusen

        sunaSaRa Imdadhusen +91 99095 44184 +91 02767 284464

        modified on Wednesday, February 16, 2011 4:08 AM

        A 1 Reply Last reply
        0
        • T Toniyo Jackson

          Hi, I am using confirm('Do you want to proceed?'). But here am getting Ok/Cancel alert. But i need Yes/No option. How to do that?

          My first article in Best VB.NET article of January 2011 competition. Step by Step Creation of Crystal Report using its features Group, Graph, Cross-Tab and Sub report[^]

          A Offline
          A Offline
          Ali Al Omairi Abu AlHassan
          wrote on last edited by
          #4

          Sir, this is the first question i asked my tainners when i move to the web, but i found no answer. so i used a <&div> with style="display:none;position:absolute" as a modal dialog witch i can design freelly. 100 :rose: ;)

          Help people,so poeple can help you.

          1 Reply Last reply
          0
          • S Sunasara Imdadhusen

            Hi, You can find solution from here jQuery UI - Dialog Demos & Documentation Thanks, Imdadhusen

            sunaSaRa Imdadhusen +91 99095 44184 +91 02767 284464

            modified on Wednesday, February 16, 2011 4:08 AM

            A Offline
            A Offline
            Ali Al Omairi Abu AlHassan
            wrote on last edited by
            #5

            Sir, your solution is just great..!! 100 :rose:, man;

            Help people,so poeple can help you.

            1 Reply Last reply
            0
            • T Toniyo Jackson

              Hi, I am using confirm('Do you want to proceed?'). But here am getting Ok/Cancel alert. But i need Yes/No option. How to do that?

              My first article in Best VB.NET article of January 2011 competition. Step by Step Creation of Crystal Report using its features Group, Graph, Cross-Tab and Sub report[^]

              M Offline
              M Offline
              Monjurul Habib
              wrote on last edited by
              #6

              For true Javascript standard it is not possible. This will only work on 32 bit Windows and only on IE. On Firefox it will not show Yes/No prompt.

              </pre></x-turndown>

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups