The function:
<script language="JavaScript" type="text/javascript">You can call the function a couple of ways. You can use a link:
function CloseAndRefresh()
{
opener.location.reload(true);
self.close();
}
</script>
<a href="#" onClick="CloseAndRefresh(); return:false;">Close</a>Or a button:
< input type="button" value="close" onClick="CloseAndRefresh();"Or you can make it part of the submit:
<input type="submit" value="submit" onClick="CloseAndRefresh(); return:true;"
2 comments:
It works!
thanks a lot.
by hc
thank you so much
it is working nice.
Post a Comment