📄 extremecomponents.js.svn-base
字号:
function getParameterMap(form) { var p = document.forms[form].elements; var map = new Object(); for(var x=0; x < p.length; x++) { var key = p[x].name; var val = p[x].value; //Check if this field name is unique. //If the field name is repeated more than once //add it to the current array. var curVal = map[key]; if (curVal) { // more than one field so append value to array curVal[curVal.length] = val; } else { // add field and value map[key]= [val]; } } return map;}function setFormAction(form, action, method) { if (action) { document.forms[form].setAttribute('action', action); } if (method) { document.forms[form].setAttribute('method', method); } document.forms[form].ec_eti.value='';}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -