javascript_howto thread: SV: RE: SV: Javascript Syntax ... Is There A Way To ???
What is Chip mean I just need important help form for that special area that
I could not find in the book or web.
Thanks a lot
Tony
-----Original Message-----
From: Robert Nyman [mailto:robert.nyman@c...]
Sent: Tuesday, October 22, 2002 7:00 AM
To: JavaScript HowTo
Subject: [javascript_howto] SV: RE: SV: Javascript Syntax ... Is There A
Way To ???
I thought it was Chip that needed help...
Tony, is your problem related to Chip's?
/Robert
-----Ursprungligt meddelande-----
Från: Tony Hui [mailto:thui@s...]
Skickat: den 22 oktober 2002 15:52
Till: JavaScript HowTo
Ämne: [javascript_howto] RE: SV: Javascript Syntax ... Is There A Way To
???
hi Robert,
I need your help for post the current html page with data fill in to
the outlook body.
I use localhost.href just a link. all I want is WYSWYG.
Thanks a lot
Tony
-----Original Message-----
From: Robert Nyman [mailto:robert.nyman@c...]
Sent: Tuesday, October 22, 2002 12:48 AM
To: JavaScript HowTo
Subject: [javascript_howto] SV: Javascript Syntax ... Is There A Way To
???
I'm not totally sure what you want to do, but this is a way of
referencing all the forms in the page (IE5+, Netscape 6+):
function catchIt(_z){
var arrAllForms = document.getElementsByTagName("form");
for(var i=0; i<arrAllForms.length; i++){
arrAllForms[i].COM.value=_z;
}
}
/Robert
-----Ursprungligt meddelande-----
Från: Chip Dukes [mailto:cdukes77@b...]
Skickat: den 18 oktober 2002 16:43
Till: JavaScript HowTo
Ämne: [javascript_howto] Javascript Syntax ... Is There A Way To ???
I have the following Javascript that I need to (hopefully) modify
slightly ... in the catchIt function I refer to a Form1 ... my page is
dynamically built such that I might have 30 or 40 forms named Form1,
Form2, etc,. Is there a way to use this single script to reference all
of the possible forms -or- do I need to dynamically write a seperate
script
for each form?
<script>
var _v = "<html><head><"+"script>";
_v += "function passBack(_a){opener.catchIt(_a);self.close();}";
_v += "<"+"/script></head><body>";
_v += "<a href='#' onclick=passBack('1234')>1234</a><BR>";
_v += "<a href='#' onclick=passBack('5678')>5678</a>";
_v += "</body></html>";
var newWin=null;
function doIt()
{
newWin=window.open("","","width=100,height=100,top=100,left=100");
newWin.document.open();
newWin.document.write(_v);
newWin.document.close();
}
function catchIt(_z)
{
document.form1.COM.value=_z; /* just for show */
}
</script>
Thanks for your suggestions.
Chip Dukes
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20