|
麻烦您大家教我啊,
查看工作流总是弹object
- function ModifyRunName(){
- var runname1 = jQuery("input[name='DATA_7']").val();
- var runname2 = jQuery("input[name='DATA_6']").val();
- var runname3 = jQuery("input[name='DATA_12']").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();
- })
复制代码
|
|