标签:.ajax timeout window pos order cti 页面 ntb success
在涉及银行页面时,需要跳转到银行页面
var accound = document.getElemntById(‘accound‘);
$.ajax({
dataType:‘json‘,
type:‘post‘,
url:‘/user/updataCard.do‘,
data:accound,
timeout:300,
success:function(data){
document.getElementById(‘ld-frame‘).contentWindow.location.href = data;
}
})
页面显示
<div><input type=‘text‘ id=‘accound‘/></div>
<div class="ldwrap">
<iframe id="ld-frame" frameborder="0" width="100%" height="100%" src="/loading.html" scrolling="no"></iframe>
</div>
标签:.ajax timeout window pos order cti 页面 ntb success
原文地址:http://www.cnblogs.com/yanxiaoyanyan/p/6255568.html