Should be at least:
var myWin1 = window.open(url, "mywindow", "resizable,scrollbars");
ECMAScript implementations are case-sensitive (unless you are mistaken that
you are using "Javascript" in the first place), and the minimum features
argument is necessary for meeting accessibility guidelines (and legislation).
Not in the URL, but in the (HTML) document referred to by the URL. The
URL (Uniform Resource Locator) is but an address. You live in a house (or a
tent, or a cave, or ... ;-)), not in an address, don't you?
I will assume you mean the popups opener by "current window". Suppose then
"form1" is the value of the `form' element's `name' or `id' attribute (the
latter not as well supported by this):
myWin1.document.forms["form1"].submit();
(Easy and most obvious, isn't it?) However, users will not take kindly on
content being submitted without them agreeing to it explicitly. What do you
think you need this for anyway?
could anyone recommend a newsgroup on javascript for newbies where I can
ask my queries.
If a newsgroup existed where only newbies were posting, it could obviously
not be recommended here, because there you would inevitably receive the
worst kind of help possible, making you to stay a newbie forever: blind
leading the blind.
So ISTM you are not asking for a newsgroup for newbies, but for lusers.
Fortunately, AFAIK there is no such newsgroup in the Big 8. (From
crossposts getting in here now and then, it would appear alt.ALL quite often
provides the cuddly, self-deceived, incompetent, dangerous kind of help that
you are asking for.)
In fact, this newsgroup is for newbies as well, provided they take heed of
the well-meaning recommendations in the FAQ and FAQ Notes, and do not play
stupid like this.
<
http://jibbering.com/faq/>
Score adjusted
PointedEars