前人留下来的。求助
<input type="button" name="submit1" value="修改预定"
<%if Now<dsysj1 then%> onclick="modify_startresource()"
<%else%> onclick="modify_endresource()"
<%end if%>
style="" >
为什么这样就会出错。
<input type="button" name="submit1" value="修改预定"
<%if Now<dsysj1 then%> onclick="modify_startresource()"
<%end if%> style="" >
else后面的去掉就正常了。不会VBS啊。。
[解决办法]
<input type="button" name="submit1" value="修改预定" <%if Now<dsysj1 thenresponse.write("onclick='modify_startresource()'") else response.write("onclick='modify_endresource()'" ) <%end if%> style="" >