CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2001
    Location
    UK
    Posts
    308

    calling Javascript function in asp page

    hi,

    how to call a javascript function from the ASP Page..
    thanks in adv.
    Venu
    Venu Bharadwaj
    "Dream it. U can do it!"

  2. #2
    Join Date
    Oct 2002
    Location
    Philippines
    Posts
    2
    have you tried using templates? separate the HTML part from ASP stuff and call the javascript from the HTML part. this is if you only want to manipulate the HTML part using the jscript function.


  3. #3
    Join Date
    Mar 2002
    Location
    Alpharetta, GA
    Posts
    51
    Check out the RegisterClientScriptBlock method

    http://msdn.microsoft.com/library/de...blocktopic.asp

    also you can stick in event handlers inside your web control tags or add them programatically through Attributes.Add(key, value)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured