【随机生成验证码】

//分装颜色
function randomColor(){
	var a =parseInt(Math.random()*256);
	var b =parseInt(Math.random()*256);
	var c =parseInt(Math.random()*256);
	var rgb ="rgb("+a+","+b+","+c+")";
	return rgb;
}

  

原文地址:https://www.cnblogs.com/FFPING/p/8196764.html