Popup instead of Javascript Alert

Two little challenges:
1. I would like to achieve the equivalent of a client side javascript alert
popup from server side code. Any suggestion how I can do this?
2. How can I cause a beep at clientside from serverside code?

Advertisements

=?Utf-8?B?U2liQW5kZWxh?= wrote on 25 sep 2004 in
microsoft.public.inetserver.asp.general:
> Two little challenges:
> 1. I would like to achieve the equivalent of a client side javascript
> alert popup from server side code. Any suggestion how I can do this?

You cannot.
Serverside code only runs on the server.
> 2. How can I cause a beep at clientside from serverside code?

You cannot.
Serverside code only runs on the server.

You can only have ASP serverside code make an html cum clientside code
page, that has those functions, but that doesn't seem to be what you want.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)

Advertisements

What I would like is to cause a popup on the client (a second page if
necessary) initiated or redirected from the the server side code.

"Evertjan." wrote:
> =?Utf-8?B?U2liQW5kZWxh?= wrote on 25 sep 2004 in
> microsoft.public.inetserver.asp.general:
>
> > Two little challenges:
> > 1. I would like to achieve the equivalent of a client side javascript
> > alert popup from server side code. Any suggestion how I can do this?
>
> You cannot.
> Serverside code only runs on the server.
>
> > 2. How can I cause a beep at clientside from serverside code?
>
> You cannot.
> Serverside code only runs on the server.
>
> You can only have ASP serverside code make an html cum clientside code
> page, that has those functions, but that doesn't seem to be what you want.
>
>
> --
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress,
> but let us keep the discussions in the newsgroup)
>
>

SibAndela <> wrote in message news:<>...
> Two little challenges:
> 1. I would like to achieve the equivalent of a client side javascript alert
> popup from server side code. Any suggestion how I can do this?
> 2. How can I cause a beep at clientside from serverside code?

Use javascript, in particular the "window.open" call is what you are looking for.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!