how to jScript into one line?

Giganews Newsgroups
Subject: how to jScript into one line?
Posted by:  dki‚Ķ@vdot.state.va.us (~webmaster)
Date: 11 Sep 2003

here is an axample of what i need......
in ASP i can finish this line with an asp variable like below
mytext variable would contain a string like "Pop_up()"
<body Onload = <%=mytext%>>
so using ASP i can complete my onload statement.
I need a way to do this using a variable in Javascript.
How can this be done?
Thanx :)

Replies