allen
专注于java ee技术,包括struts,jsf,webwork,spring,hibernate,ibatis
posts - 7,  comments - 9,  trackbacks - 0
写一javascript函数
<script
anguage="javascript">
   function selectUser(id,name){
    
    eval("window.opener.document.Form1.app_name.value='"+name+"'");
    eval("window.opener.document.Form1.app_id.value='"+id+"'");
    window.close();   
     
   }
  </script>
在radio的click事件中加入
<td align=center><input type="radio" onclick="selectUser('<%# DataBinder.Eval(Container.DataItem,"employee_no")%>','<%# DataBinder.Eval(Container.DataItem,"name")%>')"></td>
posted on 2006-12-21 22:19 robbin163 阅读(197) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航:
 

<2024年5月>
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

常用链接

留言簿(3)

随笔分类

随笔档案

文章分类

文章档案

搜索

  •  

最新评论

阅读排行榜

评论排行榜