historydroplistscripts.jsp
来自「国外的一套开源CRM」· JSP 代码 · 共 40 行
JSP
40 行
<!-- Use the hidden iFrame to update the Assigned To dropdown based on the account selected.-->
<script for='historySelect' event='onfocus()' language='JavaScript'>
sendDropDown(
'historySelect',
'url',
'description',
'com.sourcetap.sfa.ui.UIHistoryDropDown',
'',
'',
this.form,
'');
</script>
<script for='historySelect' event='onchange()' language='JavaScript'>
loadHistoryUrl();
</script>
<SCRIPT LANGUAGE="javascript">
function loadHistoryUrl() {
var vSelectObj = document.all("historySelect");
var vSelectedIndex = vSelectObj.selectedIndex;
var vSelectedOptionObj = vSelectObj.item(vSelectedIndex);
var vSelectedValue = vSelectedOptionObj.value;
if ((vSelectedValue != null)&&(vSelectedValue != "")) {
// Submit the form to the appropriate jsp page.
var vFormObj = document.forms("historyForm");
vFormObj.action = vSelectedValue;
if (vSelectedValue.indexOf("activityPopup") > 0) {
vFormObj.target = "activityPopup";
} else {
vFormObj.target = "content";
}
vFormObj.submit();
}
}
</script>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?