Code Comments
Programming Forum and web based access to our favorite programming groups.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?
Post Follow-up to this messageexamnotes 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)
Post Follow-up to this messageWhat 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: > examnotes wrote on 25 sep 2004 in > microsoft.public.inetserver.asp.general: > > > You cannot. > Serverside code only runs on the server. > > > 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) > >
Post Follow-up to this messageOnce again the server has no idea what a "window" is. This makes it so that the server can't do that. This is a question that should be asked in a client side script group. Here are two newsgroups where you should be asking this sort of question. microsoft.public.scripting.jscript comp.lang.javascript SibAndela wrote: > 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. >
Post Follow-up to this messageSibAndela <SibAndela@discussions.microsoft.com> wrote in message news:<EFC792F3-B8A8-443D-9 43E-5B29F5ED2DDE@microsoft.com>... > Two little challenges: > 1. I would like to achieve the equivalent of a client side javascript aler t > 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. swp
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.