You don't need to do anything special.
It should be working.
How is the .js file being included? Are you doing a
context.Response.Write("<script src=........"); ??
Is the javascript below being outputted BEFORE the .js file?
Karl
--
http://www.openmymind.net/
http://www.fuelindustries.com/
"X" <> wrote in message
news: ups.com...
>I am trying to invoke a javascript function from IHttpHandler using
> Context.Response.Write. The function is present in .js file and is not
> being invoked. The following snippet is called from ProcessRequest
> method of the IHttpHandler.
>
> Code snippet:
> context.Response.Write("<script>window.parent.fram es[1].location='../Update.htm';</script>");
> context.Response.Write("<script language='javascript'>\r\n");
> context.Response.Write(string.Format("UpdateNode(' {0}', '{1}',
> 'true');", _retVal, Id));
> context.Response.Write("</script>");
>
> Thanks
>