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. Editing Prompt Window of Javascript

Editing Prompt Window of Javascript

Scheduled Pinned Locked Moved Web Development
csharpjavascriptasp-nethelptutorial
2 Posts 2 Posters 0 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.
  • M Offline
    M Offline
    Mazdak
    wrote on last edited by
    #1

    I'm using prompt window with javascript in an ASP.NET application.(.net 2.0). I have to problem with it: 1- How to edit Text of buttons in that window. 2- When I click on both Ok and Cansel button the prompt window return the string in the textbox but I think it shouldn't do it or at least how can I find out which button is clicked by user. Thanks.

    Mazy
    "One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji

    G 1 Reply Last reply
    0
    • M Mazdak

      I'm using prompt window with javascript in an ASP.NET application.(.net 2.0). I have to problem with it: 1- How to edit Text of buttons in that window. 2- When I click on both Ok and Cansel button the prompt window return the string in the textbox but I think it shouldn't do it or at least how can I find out which button is clicked by user. Thanks.

      Mazy
      "One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Mazdak wrote:

      1- How to edit Text of buttons in that window.

      You can't.

      2- When I click on both Ok and Cansel button the prompt window return the string in the textbox

      No, it doesn't. If you press Cancel, it returns null.

      --- b { font-weight: normal; }

      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