且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

显示旧图像而不是新图像。(在javascript中刷新)

更新时间:2023-12-05 15:23:28

hi


你可以连接时间跨度查询字符串和filePath变量。



Ex。



var dNow = new Date();

filePath = document.forms [0] .Ins_File.value +?ts =+ dNow.getHours ()+ dNow.getMinutes()+ dNow.getSeconds();
hi
you can concatenate time span Query string with filePath variable.

Ex.

var dNow = new Date();
filePath = document.forms[0].Ins_File.value+ "?ts="+ dNow.getHours()+ dNow.getMinutes()+ dNow.getSeconds();