Client scripting inside server scripting?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Client scripting inside server scripting?

  1. #1
    David Guest

    Client scripting inside server scripting?


    Hi,
    I am writing server scripted pages in VB Script and would like to embed some
    Java Script inside to allow mouseovers within the same page.
    How can I write a page from the server side to allow client actions like
    mouseovers?
    Thanks in advance.
    David

  2. #2
    Al Guest

    Re: Client scripting inside server scripting?


    You can use response.write "<script language = javascript>" & vbCrLf
    etc.
    I don't understand why you don't add this directly into the html page though.
    If you only want to add the code based on certain conditions then

    If blnUseMouseOver Then
    %>
    client javascript code goes here
    <%
    End If

    Al

    "David" <davidt26@msn.com> wrote:
    >
    >Hi,
    >I am writing server scripted pages in VB Script and would like to embed

    some
    >Java Script inside to allow mouseovers within the same page.
    >How can I write a page from the server side to allow client actions like
    >mouseovers?
    >Thanks in advance.
    >David



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center