点击按钮实现表单的显示,提交数据后表单消失

2019-04-15 13:17发布

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="