js代码:
var chuand = idx;
var result = sendAjaxText(chuand, "details_fz.htm", "", false); //通过订单编号从服务器获取JS接口需要的参数
var ary = result.split(":");
if (result.substring(0, 2) == "恭喜") {
var aaa = 15651252505; //希望下一行aaa,显示这个值
document.getElementById("lianxfs").innerHTML="<label class=''>联系电话:</label><input id='lianxi' name='lianxi' type='text' read' value=' + aaa + '>"; //粉色的这里不行
show('dlg16');
return;
}
实际页面效果:
此主题相关图片如下:000.png
[此贴子已经被作者于2020/9/18 17:57:51编辑过]