onclick事件的问题,有A,B两太服务器,彼此之间如何传值?
B服务器调用A服务器的页面,触发onclick事件并将A服务器的值写入B服务器的文本框下面的程序出现的问题是没有权限从A写值到B上,是web站点安全的问题,想问问如何解决!
Untitle.htm <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> 
<title>无标题文档 </title> 
</head> 
<script language=JavaScript  type=text/JavaScript> 
function clickss(){ 
window.open("http://124.161.95.82:8001/CNC/SearchPartInterface.unicom?partname=运行维护部","tt","width=400,height=300"); 
//window.open("a.htm","tt","width=400,height=300"); 
} </script> 
<body> <form id=f_form name=f_form  method=post > <label> 
<input type=text  name=chinaunicom_id /> 
</label> 
<a href="#" onclick="clickss()"> 
555 </a> </form> 
</body> 
</html> 服务器端地址:http://124.161.95.82:8001/CNC/SearchPartInterface.unicom?partname=运行维护部 
onclick事件的代码为: 。。 
function clicksk(user_id){ 
alert("我要成功阿!我靠!"); 
opener.document.f_form.chinaunicom_id.value = user_id; window.close(); 

。。 <div class="div3"> 
<table width="195px" border="0" cellpadding="0" cellspacing="0"> 
<c:forEach var="trees" items = '${requestScope.lists}'>   <tr> 
    <td width="65px"> <a href="#" onclick="clicksk('${trees.u_id}')">${trees.u_id} </a> </td> 
<td width="65px">${trees.u_name} </td> 
    <td width="65px">${trees.dep_name} </td> 
    
  </tr> 
  
  
  </c:forEach> 
</table> 
</div>