在asp中怎样调用javascript函数,javascript函数没有绑定在按钮上。急!!在线等!
在asp中怎样调用javascript函数,javascript函数没有绑定在按钮上。
比如下面:
<script LANGUAGE="JavaScript1.1">
getc()
{
}
</script>
<%if request.item("idd")="1" then %>
<input type="text" name="filename" class="add" style="width:250" value="<%=request.item("idd2")%>">
怎么样在这一行调用getc()????
<%else%>
<input type="file"name="file1" class="add">
<%end if%>