ajax 发送请求连接时加上tstmp参数

newFile:function(node){

    try{ 

    SniperDialog.show(node,"dialogHeight:300px;dialogWidth:660px;resizable:yes;scroll:no;status:no;help:no;");

    var options = {method : 'GET',parameters:'method=findFile&bargainId=${bargain.id}&tstmp=' + new Date().getTime()};

    new Ajax.Updater($('fileContentDiv'),'bargainAccessory.do?',options);

    }catch(e){

    window.alert(e.message);

    }

    }

你可能感兴趣的:(Ajax)