whiz
Senior Member
Posts: 568 Reputation: 8
– / – /
Joined: Nov 2008
|
O.P. RE: HELP - "foreach" command!
js code: var WndID = new Array();
var WndTitle = new Array();
var WndDesc = new Array();
function OnWndWriterAddItemEvent_CtrlClicked(objWnd, strControlId)
{
switch (strControlId)
{
case "BtnAdd":
WndID.push(objWnd.GetControlText("EdtID");
WndTitle.push(objWnd.GetControlText("EdtTitle");
WndDesc.push(objWnd.GetControlText("EdtDesc");
break;
}
}
Will that work?
|
|