Created
February 7, 2022 16:50
-
-
Save MrMohebi/eff8bf663c0b491f9f68a649d3a187ba to your computer and use it in GitHub Desktop.
golestan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function AddRowT01(e){var l=[...e].reverse();window.ActiveXObject,T01.DataRow=$(T01).attr("datarow"),T01.CurrAdded=parseInt(T01.CurrAdded)+1;var s=T01.insertRow();s.className="Inserted",(t=s.insertCell()).innerHTML='<SELECT style="WIDTH: 50px;height:15px" onchange="return update_T01XML(this,\'F3125\')"><OPTION></OPTION><OPTION value="1" cl_ass="ins">ثبت</OPTION>\t<OPTION value="3" cla_ss="wai">انتظار</OPTION></SELECT>',t.childNodes[0].value=1,t=s.insertCell();var t=s.insertCell();ZCell=T01.rows[T01.DataRow-1].cells[2],t.innerHTML=ZCell.innerHTML,t.childNodes[0].value=l[0],$("input",t).removeClass("HideElement");for(var r=0;r<3;r++)t=s.insertCell(),ZCell=T01.rows[T01.DataRow-1].cells[t.cellIndex],t.innerHTML=ZCell.innerHTML,$("input",t).removeClass("HideElement"),t.childNodes[0].value=l[r+1];return t=s.insertCell(),t=s.insertCell(),t=s.insertCell(),(t=s.insertCell()).className="zw",window.ActiveXObject||(t.className="zwMB"),(t=s.insertCell()).className="zw",window.ActiveXObject||(t.className="zwMB"),t=s.insertCell(),t=s.insertCell(),t=s.insertCell(),s.scrollIntoView(),window.ActiveXObject||($(".txt",s).each(function(e,l){$(l).MBPrepare()}),2==hb&&$("td.zwMB",s).removeClass("zwMB")),s} | |
let courseCodes = [ | |
["14","25","282","01"], | |
["15","88","282","63"], | |
["16","55","282","01"], | |
["56","11","458","04"], | |
["13","25","282","01"], | |
["22","33","282","01"], | |
] | |
for (const courseCode of courseCodes) { | |
AddRowT01(courseCode) | |
} | |
IM13_Do_onclick() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment