⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 common.js

📁 网络电子白板
💻 JS
字号:

//Function to get the value in a control
function getValue(controlId) {

	return document.getElementById(controlId).value;
	
} //End of getValue

//Function to set the value in a control
function setValue(controlId, value) {

	document.getElementById(controlId).value = value;
	
} //End of setValue

//Function to hide or display the loading div
function toggleLoading(isVisible) {
	
	if (isVisible) {
	
		document.getElementById('divLoading').style.visibility = 'visible';
		
	} else {
	
		document.getElementById('divLoading').style.visibility = 'hidden';
		
	} //End of checking the input parameter
	
} //End of toggleLoading

//This is the error handler routine
function errHandler(strData) {

	window.status = strData;

} //End of errHandler

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -