1 Star 0 Fork 8

vinyin / vshop

forked from okso / vshop 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
addgoods.html 1.18 KB
Copy Edit Raw Blame History
okso authored 2015-04-11 09:48 . tt
<html>
<head>
<script type="text/javascript" src="http://5.080c.com/data/resource/js/jquery.js"></script>
<script type="text/javascript">
var onoff=0,times=0;
var t;
function refresh_frame()
{
t=setInterval("actionA()",200);
}
function actionA()
{
if(times>parseInt(document.getElementById("times").value))
{
clearInterval(t);
//alert("out");
$("#showtimes").text(times+"_out");
}
times++;
$("#showtimes").text(times);
//document.getElementById("frameA").document.location.reload();
//frameA.document.location.reload();
//frameA.document.location.reload();
//window.frames['frameA'].location.reload();
//$("#frameA").reload();
document.getElementById('frameA').contentWindow.location.reload(true);
}
function stop_frame()
{
clearInterval(t);
}
</script>
</head>
<body>
<div style="height:50px;">
<input id="clickme" value="go" name="clickme" onClick="refresh_frame();" type="button"/>
<input id="stopme" value="stop" name="clickme" onClick="stop_frame();" type="button"/>
<input type="text" id="times" value="0" />
<span id="showtimes"></span>
</div>
<iframe id="frameA" width="100%" height="500" src="http://5.080c.com/shop/index.php?act=store_goods_add"/>
</body>
</html>
1
https://gitee.com/vinyin/vshop.git
git@gitee.com:vinyin/vshop.git
vinyin
vshop
vshop
master

Search