我有表单脚本
<form action="grava.php" method="post">
<input type="hidden" name="linkfoto" value="<?php if (isset($_POST['acao']) && $_POST['acao']=="cadastrar"){echo $src;}?>" />
Matricula: <input type="text" name="idfunc" /><br />
Nome: <input type="text" name="nomefunc" /><br />
<input type="submit" />
</form>我想在shadowbox上发送grava.php的表单信息,并在grava.php上创建一个脚本,以便在打开后几秒钟关闭该框。
发布于 2013-07-17 02:33:21
这可以使用setTimeout()来实现
setTimeout(window.parent.Shadowbox.close, 10000); // 10 seconds delayhttps://stackoverflow.com/questions/17684256
复制相似问题