What's the error? I'm looking at a page I made right now where I have that exact syntax. Now, I'm calling a sub since it's vbscript, and the code for the sub is surrounded by <script></script> tags.
Okay, obviously I missed something somewhere? What is meant by "ASP Function"? ASP uses scripts, it's nothing by itself. It's an end result. And why is my answer wrong? What I posted works for me, but it's apparently not what he's trying to do... what is being attempted here?
Heh.. I interpreted as he wanted to do this:<BR><BR><%Function myFunction(something)<BR>'la la la<BR>End Function%><BR><BR><INPUT TYPE=button onclick=myFunction()><BR><BR>or<BR><BR>onclic k=<%myFunction%><BR><BR><BR>I *think* that's what he's asking... that's what he means by "ASP function". Who knows? I could be wrong though. If so, your post would be right, m'lord (had to... just went to the Renaissance Faire last weekend)