Re: Javascript in VB class
From: Alexander Kaplunov (kaplunov_at_hotmail.com)
Date: 06/16/04
- Next message: Big E: "Rookie Question"
- Previous message: dotnetforfood: "Penetration of ASP.NET - Developers continue to use VB6 & ASP"
- In reply to: Anand Sagar: "Re: Javascript in VB class"
- Next in thread: John Saunders: "Re: Javascript in VB class"
- Reply: John Saunders: "Re: Javascript in VB class"
- Reply: Anand Sagar: "Re: Javascript in VB class"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Jun 2004 16:49:52 -0700
What if I wanted to call my of function test() ? How would I do that?
Response.Write("<script language = 'javascript'>test();</script>");
...dows not work
"Anand Sagar" <ba_sagar@yahoo.com> wrote in message
news:ePDNwP2UEHA.3664@TK2MSFTNGP12.phx.gbl...
> Eg. VB.Net code:
>
> If flag = true the
> response.write("<script language = 'javascript'>alert('the flag was
> succesful');</script>")
> else
> response.write("<script language = 'javascript'>alert('the flag was
> Unsuccesful');</script>")
> end if
>
>
> Sagar.
>
> "Brian Henry" <brianiupmsdn@newsgroups.nospam> wrote in message
> news:%23W%23RqP7TEHA.3988@TK2MSFTNGP10.phx.gbl...
> > Is there a way to launch a javascript command from within VB code? For
> > instance, to issue a window.open(some url) if a certain condition is
met.
> I
> > know you can add the javacript to a control event at runtime, but i need
> to
> > just launch it, not wait for the user to click something.
> >
> > Thanks
> >
> >
>
>
- Next message: Big E: "Rookie Question"
- Previous message: dotnetforfood: "Penetration of ASP.NET - Developers continue to use VB6 & ASP"
- In reply to: Anand Sagar: "Re: Javascript in VB class"
- Next in thread: John Saunders: "Re: Javascript in VB class"
- Reply: John Saunders: "Re: Javascript in VB class"
- Reply: Anand Sagar: "Re: Javascript in VB class"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|