function show(){
var x=event.clientX;
var y=event.clientY;
document.getElementById("pic").style.top=y+50;
document.getElementById("pic").style.left=x;
document.getElementById("pic").style.visibility="visible";
var formDiv="
";
document.getElementById("pic").innerHTML=formDiv;
}
function hide(){
document.getElementById("pic").style.visibility="hidden";
}
利用js实现区域的显示与隐藏,并提交数据。