Connecting Tech Pros Worldwide Help | Site Map

Creating a yes/no messagebox in Javascript

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 17th, 2005, 06:05 PM
John
Guest
 
Posts: n/a
Default Creating a yes/no messagebox in Javascript

Hi all,

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

Regards
John.




  #2  
Old November 17th, 2005, 06:05 PM
Craig Deelsnyder [MVP]
Guest
 
Posts: n/a
Default Re: Creating a yes/no messagebox in Javascript

The Javascript function is alert with some special parameters:

http://www.planetpdf.com/mainpage.asp?WebPageID=318



On Sat, 19 Jul 2003 02:33:54 +0100, John <a@b.com> wrote:
[color=blue]
> Hi all,
>
> Is it possible to create a Javascript messagebox that shows the buttons
> Yes
> and No instead of normal confirm?
>
> Regards
> John.
>
>
>
>[/color]



--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
  #3  
Old November 17th, 2005, 06:05 PM
Craig Deelsnyder [MVP]
Guest
 
Posts: n/a
Default Re: Creating a yes/no messagebox in Javascript

OK, major braincramp on that one....I knew there was a way, did a quick
search, bam, my last answer...didn't apply whatsoever....

sorry bout that: try confirm:

http://javascript.internet.com/messa...o-confirm.html




On Fri, 18 Jul 2003 21:50:56 -0500, Craig Deelsnyder [MVP]
<cdeelsny@nospamyahoo.com> wrote:
[color=blue]
> The Javascript function is alert with some special parameters:
>
> http://www.planetpdf.com/mainpage.asp?WebPageID=318
>
>
>
> On Sat, 19 Jul 2003 02:33:54 +0100, John <a@b.com> wrote:
>[color=green]
>> Hi all,
>>
>> Is it possible to create a Javascript messagebox that shows the buttons
>> Yes
>> and No instead of normal confirm?
>>
>> Regards
>> John.
>>
>>
>>
>>[/color]
>
>
>[/color]



--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
  #4  
Old November 17th, 2005, 06:05 PM
Vidar Petursson
Guest
 
Posts: n/a
Default Re: Creating a yes/no messagebox in Javascript

Hi

No but you can create your own using showModalDialog for example
http://msdn.microsoft.com/library/de...odaldialog.asp

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"John" <a@b.com> wrote in message
news:%23DvalUZTDHA.2276@TK2MSFTNGP10.phx.gbl...[color=blue]
> Hi all,
>
> Is it possible to create a Javascript messagebox that shows the buttons[/color]
Yes[color=blue]
> and No instead of normal confirm?
>
> Regards
> John.
>
>
>[/color]


  #5  
Old November 17th, 2005, 06:05 PM
clintonG
Guest
 
Posts: n/a
Default Re: Creating a yes/no messagebox in Javascript

All of which have become virtually useless as they are trapped
and blocked by the PopUp blockers.

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

LaGarde StoreFront 5 Affiliate: e-Commerce Software Development
SEE: http://www.storefront.net/default.as...RER=-201499070


"Craig Deelsnyder [MVP]" <cdeelsny@nospamyahoo.com> wrote in message news:oprsjedgmjbulmub@news.microsoft.com...[color=blue]
> OK, major braincramp on that one....I knew there was a way, did a quick
> search, bam, my last answer...didn't apply whatsoever....
>
> sorry bout that: try confirm:
>
> http://javascript.internet.com/messa...o-confirm.html
>
>
>
>
> On Fri, 18 Jul 2003 21:50:56 -0500, Craig Deelsnyder [MVP]
> <cdeelsny@nospamyahoo.com> wrote:
>[color=green]
> > The Javascript function is alert with some special parameters:
> >
> > http://www.planetpdf.com/mainpage.asp?WebPageID=318
> >
> >
> >
> > On Sat, 19 Jul 2003 02:33:54 +0100, John <a@b.com> wrote:
> >[color=darkred]
> >> Hi all,
> >>
> >> Is it possible to create a Javascript messagebox that shows the buttons
> >> Yes
> >> and No instead of normal confirm?
> >>
> >> Regards
> >> John.
> >>
> >>
> >>
> >>[/color]
> >
> >
> >[/color]
>
>
>
> --
> Craig Deelsnyder
> Microsoft MVP - ASP/ASP.NET[/color]


  #6  
Old November 17th, 2005, 06:05 PM
Craig Deelsnyder [MVP]
Guest
 
Posts: n/a
Default Re: Creating a yes/no messagebox in Javascript

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).....




On Sat, 19 Jul 2003 10:15:37 -0500, clintonG
<csgallagher@REMOVETHISTEXTmetromilwaukee.com> wrote:
[color=blue]
> All of which have become virtually useless as they are trapped
> and blocked by the PopUp blockers.
>[/color]



--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.