显示“请等待重定向页面......”
时如何显示:无按钮当我点击“确定”按钮时,它会显示文字“请等待重定向页面......”并加载条形图像
我希望display : none;
按钮,我该怎么办?
<?PHP
if(isset($_POST["submit"]))
{
?>
<div style=" text-align: center; padding: 300px; font-family: trebuchet ms; ">
Please wait redirect page......<br>
<img src="http://microsite.nintendo-europe.com/658363683991c1bc33a9b502274dd651/en_ZA/images/loadingBar.gif" border="0">
<?PHP
}
?>
<form name ="news_form" action="" method="post" enctype="multipart/form-data">
<input type="submit" name="submit" value="OK" />
</form>
答案 0 :(得分:1)
简易解决方案:
<form name ="news_form" action="" method="post" enctype="multipart/form-data">
<input type="submit" name="submit" value="OK"
<? if(isset($_POST["submit"])) { echo "'style=display:none'"; } ?>
/>
</form>