edit1.html

来自「这是一个在在Dynamic C环境下实现的设备web服务器的建立」· HTML 代码 · 共 32 行

HTML
32
字号

<SCRIPT language=javascript type=text/javascript>
<!--- Hide script from old browsers
function formvalidation(thisform)
{
	with(thisform)
	{
		if(value_validation(cachedIPAddress_1.value, 255, 0, "cachedIPAddress_1", "int", 4) == false) {return false;}
		if(value_validation(cachedIPAddress_2.value, 255, 0, "cachedIPAddress_2", "int", 4) == false) {return false;}
		if(value_validation(cachedIPAddress_3.value, 255, 0, "cachedIPAddress_3", "int", 4) == false) {return false;}
		if(value_validation(cachedIPAddress_4.value, 255, 0, "cachedIPAddress_4", "int", 4) == false) {return false;}
		if(subnet_validation(cachedSubnetMask_4.value, cachedSubnetMask_3.value, cachedSubnetMask_2.value, cachedSubnetMask_1.value) == false) {return false;}
		if(value_validation(cachedGatewayIPAddress_1.value, 255, 0, "cachedGatewayIPAddress_1", "int", 4) == false) {return false;}
		if(value_validation(cachedGatewayIPAddress_1.value, 255, 0, "cachedGatewayIPAddress_1", "int", 4) == false) {return false;}
		if(value_validation(cachedGatewayIPAddress_1.value, 255, 0, "cachedGatewayIPAddress_1", "int", 4) == false) {return false;}
		if(value_validation(cachedGatewayIPAddress_1.value, 255, 0, "cachedGatewayIPAddress_1", "int", 4) == false) {return false;}
		if(check_host_bits(cachedIPAddress_1.value, cachedIPAddress_2.value, cachedIPAddress_3.value, cachedIPAddress_4.value, cachedSubnetMask_1.value, cachedSubnetMask_2.value, cachedSubnetMask_3.value, cachedSubnetMask_4.value) == false) {return false;}
		return true;
	}
}
// end hiding from old browsers -->
</SCRIPT>
<!--- Hide script from old browsers   
function formvalidation(thisform)
{ 
	with(thisform)
	{
	  reboot_confirm(thisform)
	}
}  
// end hiding from old browsers-->

⌨️ 快捷键说明

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