PHP:
<script type="text/javascript" src="click.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
<?php
$uret = rand(300000,688255);
echo
'<form action="albo.php" method="post" >
<input type="text" name="uret" value="'.$uret.'" />
<div id="button"><input type="submit" value="Gonder" /></div>
</form>';
?>
点击.JS
$(document).ready(function() {
$('#button').click();
}
我要做的就是在 a.php 加载时单击该提交按钮