category      articles    
 
Adsense
Adwords
Article
Blog
CMS
CSS Style
Datacenter
Design Graphics
Flash Animation
Internet Radio
Messenger
Programming
Provider
Search Engine
Security
Security Web
SEF
SEO
Software
Software Web
Passing value from child window to parent

if you want to add value from child window to parent window, try this little bit javascript:

Here is sample file for window.htm

<form method=post action='' name=f1>
<table border=0 cellpadding=0 cellspacing=0 width=550> <tr>
<td ><font size=2 face='Verdana'>Your Name</font><input type=text name='p_name' size='8'> <a href="javascript:void(0);" NAME="My Window Name" title=" My title here " onClick=window.open("childwindow.htm","Ratting","width=550, height=170,left=150,top=200,toolbar=1,status=1,");> Click here to open the child window</a>

</td></tr> </table></form>

And here is the child name childwindow.htm

<html>
<head>

<script langauge="javascript">
function post_value(){
opener.document.f1.p_name.value = document.frm.c_name.value;
self.close();
}
</script>

<title>(Type a title for your page here)</title>



<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#ff0000">

<form name="frm" method=post action=''>
<table border=0 cellpadding=0 cellspacing=0 width=250>


<tr><td align="center"> Your name<input type="text" name="c_name" size=12 value=test> <input type=button value='Submit' onclick="post_value();">
</td></tr>
</table></form>
</head>
</html>

OTHER ARTICLES

htaccess at Windows

AddModule directive for Apache

PHP feof() Function

AuthUserFile directive

Redirecting YourSite.com to www.YourSite.com

htaccess Useful

AcceptFilter for Apache

AcceptMutex directive for Apache

About Pico at Linux

AddDefaultCharset directive for Apache