Connecting Tech Pros Worldwide Help | Site Map

Creating a yes/no messagebox in Javascript

  #1  
Old November 17th, 2005, 07:05 PM
John
Guest
 
Posts: n/a
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, 07:05 PM
Craig Deelsnyder [MVP]
Guest
 
Posts: n/a

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, 07:05 PM
Craig Deelsnyder [MVP]
Guest
 
Posts: n/a

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, 07:05 PM
Vidar Petursson
Guest
 
Posts: n/a

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, 07:05 PM
clintonG
Guest
 
Posts: n/a

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, 07:05 PM
Craig Deelsnyder [MVP]
Guest
 
Posts: n/a

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
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Script Not Working in ASP.Net Page answers 5 January 9th, 2006 08:59 PM
Using JavaScripts in ASP.NET, please help... Tigger answers 7 November 19th, 2005 02:56 AM
Creating a validationsummary Christer answers 3 November 18th, 2005 05:00 AM
Creating a COM object Carlos Lozano answers 15 November 17th, 2005 05:40 AM