Click to See Complete Forum and Search --> : calling Javascript function in asp page


bharadwajrv
September 16th, 2002, 05:19 AM
hi,

how to call a javascript function from the ASP Page..
thanks in adv.
Venu

leesb
October 9th, 2002, 05:31 AM
:confused: 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.

:)

mikescham
October 9th, 2002, 11:28 PM
Check out the RegisterClientScriptBlock method

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebuipageclassregisterclientscriptblocktopic.asp

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