applet的一個問題,再線等!

blueapple發表於2003-09-15
<!--
<html>
<head></head>
<% String button=request.getParameter("button");
if (button.equals("tt")) sAction="D";
else { sAction="F";}%>
<form action="本頁面名字">
<input type="button" value="tt" name="button" onsubmit="return true">
<input type="button" value="tt1" name="button" onsubmit="return true">
</form>
<applet ****屬性()>
<param name = "action" value = "<%=sAction%>">
</applet>-->
怎樣做到點選button的任何一個按牛(即button!=null)後才執行applet,按牛沒提交時不顯示applet?

相關文章