thickbox kullanılarak popup pencereden ana pencerede ki text boxlara veri gönderme;
index.html

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="thickbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="http://arsiv.pilli.com/http://arsiv.pilli.com/jquery.js"></script>
<script type="text/javascript" src="http://arsiv.pilli.com/http://arsiv.pilli.com/thickbox.js"></script>
<script language="javascript">
function openwindow()
{
$(document).ready(function(){
tb_show('Test window opener','popup.html?TB_iframe=trueheight=50&width=400','');
});
}
</script>
</head>
<body>
<form name="frm">
<textarea id="content"></textarea>
<input type="button" onclick="openwindow()" value="Open window.."/>
<a href="popup.html?TB_iframe=trueheight=50&width=400" class="thickbox">Ekle</a>
</form>
</body>