Ask a Question related to ASP.NET General, Design and Development.
-
John #1
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.
John Guest
-
Newbie, how to display a messagebox always on top
Hi, sorry if this seems stupid, please have patience. I'm running Win XP sp2, VS 2005 Tem, SQL Sever 2005, I've been using a gridview to display... -
Can I use a javascript in creating a new custom control?
I want to make a new Tree custom control and I have an excellent jscrpt code for it(DHTML XTree). this js file contains all the methods and events... -
creating javascript layer help
I have created a javascript function within a cfm page that will allow me to show a previously created layer, depending on what is selected from the... -
Creating Controls with Javascript and getting to them from the server.
Maybe I did this wrong. I think I did but I built some textbox controls using Javascript and I call the javascript function that builts and adds... -
messagebox inside ASP page
How can I send messages to user like messageBox from a ASP page without doing postback over the page. thanks for your help Oscar -
Craig Deelsnyder [MVP] #2
Re: Creating a yes/no messagebox in Javascript
The Javascript function is alert with some special parameters:
[url]http://www.planetpdf.com/mainpage.asp?WebPageID=318[/url]
On Sat, 19 Jul 2003 02:33:54 +0100, John <a@b.com> wrote:
> Hi all,
>
> Is it possible to create a Javascript messagebox that shows the buttons
> Yes
> and No instead of normal confirm?
>
> Regards
> John.
>
>
>
>
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Craig Deelsnyder [MVP] Guest
-
Craig Deelsnyder [MVP] #3
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:
[url]http://javascript.internet.com/messages/yes-or-no-confirm.html[/url]
On Fri, 18 Jul 2003 21:50:56 -0500, Craig Deelsnyder [MVP]
<cdeelsny@nospamyahoo.com> wrote:
> The Javascript function is alert with some special parameters:
>
> [url]http://www.planetpdf.com/mainpage.asp?WebPageID=318[/url]
>
>
>
> On Sat, 19 Jul 2003 02:33:54 +0100, John <a@b.com> wrote:
>>>> Hi all,
>>
>> Is it possible to create a Javascript messagebox that shows the buttons
>> Yes
>> and No instead of normal confirm?
>>
>> Regards
>> John.
>>
>>
>>
>>
>
>
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Craig Deelsnyder [MVP] Guest
-
Vidar Petursson #4
Re: Creating a yes/no messagebox in Javascript
Hi
No but you can create your own using showModalDialog for example
[url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/showmodaldialog.asp[/url]
--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"John" <a@b.com> wrote in message
news:%23DvalUZTDHA.2276@TK2MSFTNGP10.phx.gbl...Yes> Hi all,
>
> Is it possible to create a Javascript messagebox that shows the buttons> and No instead of normal confirm?
>
> Regards
> John.
>
>
>
Vidar Petursson Guest
-
clintonG #5
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 [email]csgallagher@REMOVETHISTEXTmetromilwaukee.com[/email]
URL [url]http://www.metromilwaukee.com/clintongallagher/[/url]
LaGarde StoreFront 5 Affiliate: e-Commerce Software Development
SEE: [url]http://www.storefront.net/default.asp?REFERER=-201499070[/url]
"Craig Deelsnyder [MVP]" <cdeelsny@nospamyahoo.com> wrote in message news:oprsjedgmjbulmub@news.microsoft.com...> 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:
>
> [url]http://javascript.internet.com/messages/yes-or-no-confirm.html[/url]
>
>
>
>
> On Fri, 18 Jul 2003 21:50:56 -0500, Craig Deelsnyder [MVP]
> <cdeelsny@nospamyahoo.com> wrote:
>>> > The Javascript function is alert with some special parameters:
> >
> > [url]http://www.planetpdf.com/mainpage.asp?WebPageID=318[/url]
> >
> >
> >
> > On Sat, 19 Jul 2003 02:33:54 +0100, John <a@b.com> wrote:
> >> >> >> Hi all,
> >>
> >> Is it possible to create a Javascript messagebox that shows the buttons
> >> Yes
> >> and No instead of normal confirm?
> >>
> >> Regards
> >> John.
> >>
> >>
> >>
> >>
> >
> >
>
>
> --
> Craig Deelsnyder
> Microsoft MVP - ASP/ASP.NET
clintonG Guest
-
Craig Deelsnyder [MVP] #6
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:
> All of which have become virtually useless as they are trapped
> and blocked by the PopUp blockers.
>
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Craig Deelsnyder [MVP] Guest
-
GotiBandhu Huda #7
Creating a messagebox in Javascript
Hello Everyone,
In Java Script there are two types of message box for displaying information. One is known as “alert” and another one is known as “confirm”. If you want to display an alert or warning regarding programs then we use alert () method for displaying message box and if we want to take some confirmation from user then we use confirm () method for displaying message box.
Thanks !!
Junior Member
- Join Date
- Sep 2011
- Posts
- 1



Reply With Quote

