webbrowser控件调用js的一个脚本
setCurrentList(formItemID, curList);
方法的实现在此:function setCurrentList (itemID, newList)
{
var cqFormItem = getCQFormItemFromItemID(itemID);
cqFormItem.setMultiValueFromArray(copyArray(newList));
cqFormItem.updateHTMLControlValueFromItem();
var listHTMLControl = document.getElementById(itemID);
populateDuplicateItems(itemID, listHTMLControl);
cqFormItem.hasChanged();
toggleLabel(cqFormItem.fieldName,
cqFormItem.valueIsEmpty(),
cqFormItem.behave);
}curList的类型是var newArray = new Array();
我要用C#的这个方法调用
webBrowser1.Document.InvokeScript("setCurrentList",args1);
这个参数我要怎么写才能给js传入Array类型的值