webbroser控件给js传值的问题
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);}