Javascript Reference
javascript window returnValue
Hello. I see that you don't update your site too often.
I know that writing posts is boring and time consuming.
But did you know that there is a tool that allows you to create new articles using existing content
(from article directories or other pages from your niche)?

And it does it very well. The new articles are unique and pass the copyscape
test. Search in google and try: miftolo's tools
TiaJuicy - Aug. 19, 2018, 9:44 p.m.
Im grateful for the forum topic.Really looking forward to read more. Fantastic. Panke
WilliamWhox - May 20, 2016, 5:31 p.m.
I have the same problem.
javac - May 6, 2014, 2:44 p.m.
<a href=></a>
<a href=></a>
<a href=></a>
<a href=></a>
<a href=></a>
<a href=></a>
<a href=></a>
<a href=></a>
PestrogsPat - June 29, 2013, 2:30 p.m.
Was the "value" passed into closeWindow function is null?


My code works on IE,Chrome,Firefox
mainpage.htm:
<script type="text/javascript">
var ret = showModalDialog("page2.htm");
alert(ret)
</script>

page2.htm
<script type="text/javascript">
window.returnValue="a";
//alert(window.returnValue); //this line also works
</script>
js - Sept. 21, 2012, 9:45 a.m.
function closeWindow(value){
window.returnValue=value;
alert(window.returnValue);
window.close();

}
alerting the value but always return null value in the main window
I am using IE
Can any one help me
Thanks in advance.
Anwesha - Sept. 20, 2012, 5:55 p.m.
Was the window create by showModalDialog?
Guest #921 - Dec. 21, 2011, 4:42 a.m.
function closeWindow(value){
window.returnValue=value;
alert(window.returnValue);
window.close();

}
alerting the value but always return null value in the main window
I am using FF/IE
Can any one help me
Thanks in advance..
Guest #475 - Dec. 21, 2011, 4:11 a.m.
Exactly what I was looking for, thanks!
James - March 28, 2010, 9:18 a.m.
[Nico: Hi, is there any way of achieve this with other browsers ? chrome, ff at least ?Regards]
NN==FF. And things which don't work on FF don't work on Chrome.
javascript manual - March 24, 2010, 4:12 p.m.
Hi, is there any way of achieve this with other browsers ? chrome, ff at least ?
Regards
Nico - March 24, 2010, 2:49 p.m.
Awesome, was looking for this bit of code. pity it's only for IE. thanks though!
Jerry - Jan. 28, 2010, 7:16 p.m.


Email and URL are visible for webmaster only!

Powered by Linode.