如何在ajax Webservice成功事件上显示弹出窗口 [英] How to Display Popup on ajax Webservice Success Event

查看:74
本文介绍了如何在ajax Webservice成功事件上显示弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

成功:功能(数据){



for(var i = 0; i< data.d.length; i ++){



$('#tblspop')。append("< tr>< td align ='center'style ='width:auto'>" + data.d [i] .Name +"< / td>< td align ='center'style ='width:auto'>" + data.d [i] .City +"< / td>< ; / tr>");

}

}





如何显示弹出桌面'tblspop'后自动弹出桌面弹出窗口.Ist可能吗?

success: function (data) {

for (var i = 0; i < data.d.length; i++) {

$('#tblspop').append("<tr><td align='center' style='width:auto'>" + data.d[i].Name + "</td><td align='center' style='width:auto'>" + data.d[i].City + "</td></tr>");
}
}


How to Display Pop up on Table 'tblspop' after append the table it automatically Popup on the Window.Ist Possible ?

推荐答案

('#tblspop')。append( "< tr>< td align ='center'style ='width:auto'>" + data.d [i] .Name +"< / td>< td align ='center' style ='width:auto'>" + data.d [i] .City +"< / td>< / tr>");

}

}





如何在表'tblspop'上显示自动附加表后弹出在Window.Ist可能吗?
('#tblspop').append("<tr><td align='center' style='width:auto'>" + data.d[i].Name + "</td><td align='center' style='width:auto'>" + data.d[i].City + "</td></tr>");
}
}


How to Display Pop up on Table 'tblspop' after append the table it automatically Popup on the Window.Ist Possible ?


这篇关于如何在ajax Webservice成功事件上显示弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆