Wrox Programmer Forums
|
Classic ASP XML Using ASP 3 and XML. See also the XML category for more XML discussions not relating to ASP. NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 23rd, 2006, 01:38 AM
Registered User
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default calling Javascript from ASP without any event

Is there any way to call a Javascript function from ASP without any event??? I don't want to use <runat="server">.
 
Old August 30th, 2006, 08:25 AM
Registered User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dude you can do it like that
<%
  ala bala VBScript here
  call functionXX()
  ala bala VBSsript here
  ----
  function functionXX()
  %>
   <script language="javascript">
    ala bala javascript ot the client here
   </script>
  <%
  end function

%>

I hope it helps!

Rusev





Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling javascript function from with in ASP kawal.singh Classic ASP Basics 1 July 4th, 2007 05:17 AM
calling a codebehind function on onblur event vishnupriya.kamalakaram ASP.NET 1.0 and 1.1 Basics 2 July 7th, 2006 08:25 AM
Calling javabean onChange event itheiner JSP Basics 1 July 3rd, 2006 05:19 AM
calling the user defined function on click event CsharpHelp C# 1 June 6th, 2005 07:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.