写一个JS代码总是弱object
麻烦您大家教我啊,查看工作流总是弹object
function ModifyRunName(){
var runname1 = jQuery("input").val();
var runname2 = jQuery("input").val();
var runname3 = jQuery("input").val();
var runname = runname1 + "-" + runname2+ "好"+ runname3
if(g_run_id > 0 && runname.length > 0){
jQuery.ajax({
cache: false,
async: false,
type: "POST",
url: "run_name_submit.php",
data: {"RUN_NAME": runname,"RUN_ID": g_run_id},
error: function(msg) {
alert(msg);
},
success: function(data) {
if (data == 2)
{
parent.document.getElementById('run_name_block').innerText = runname;
}
}
});
}
setTimeout(ModifyRunName,500);
}
jQuery(document).ready(function(){
ModifyRunName();
})
其它的时候正常。麻烦大家帮我 哥们,在JS中如何写多行输入框引用多行输入框的值? 出错了啊才会弹Object
14. error: function(msg) {
15. alert(msg);
16. },
就这几句的问题.你这是该文号的吧~
嗯是,谢谢。我再试一下。
页:
[1]