var f=document.createElement("IFRAME");
f.id = "iframe01";
f.name= "iframe01";
f.height=1000;
f.width=1000;
f.src='https://system.netsuite.com/app/accounting/transactions/inventory/inventorynumbereditor.nl?l=T&tranid=745&lineid=1'; //"about:blank"
document.body.appendChild(f);

到这里已经添加完毕!

//eval( 'document.frames("iframe'+j+'").document.all("main_form").submit()' );
//document.getElementById('iframe01').

var fr = window.frames["iframe01"]; //关键语句 获取iframe
alert(fr);
fr.document.getElementById('main_form').submit(); //提交


var list=document.getElementById('numbers_form').getElementsByTagName('input');
alert( list[0].name );
for(i=0;i<list.length;i++){
if(list[i].name=='custitemnumber_manufactureddate1') alert(list[i].name);
}
list[i].value='abc' //赋值

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2021-12-31
  • 2021-12-27
猜你喜欢
  • 2022-12-23
  • 2021-08-06
  • 2022-03-09
  • 2021-11-27
  • 2021-09-26
  • 2021-12-31
  • 2021-07-25
相关资源
相似解决方案