• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Radio Button in Dialogue box using javascript

 
Ranch Hand
Posts: 469
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have addressbook where I can detect duplicate contact. If any duplicate name then I want to display following dialogue box:
The contact name alreay exits.
Would you like to:
(radio button) Add this as new contact anyway
(radio button) Update new information from this contact
Ok Button Cancel Button
How can I include radio button in dialogue box?
Thanks,
Angela
 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think Javascript has limitations with alert, prompt, and confirm boxes. I think that only a few characters are accepted..such as \n for newline. You cant use any html tags..so I dont think its possible.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you would have to do it with layers....
i have a script here, that would have to be changed a bit to fit your needs, I will do it later today when I get off of work.
http://www10.brinkster.com/A1ien51/Customize/
 
Angela D'souza
Ranch Hand
Posts: 469
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Eric,
I saw you two links belows examples alert:
Alert #1 & Alert # 2
It works fine in Netscape 6.2 and IE. But in netscape4.78 it displays but when I click on Continue button looks like click event doesn't work.
Please help me out.
Thanks,
Angela
 
reply
    Bookmark Topic Watch Topic
  • New Topic