Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Unsubscribe Please
- From: javascript@xxxxxxxxxx (Teresa L Cannon)
- Subject: [Javascript] Unsubscribe Please
- Date: Fri, 28 Jun 2002 12:04:34 -0500
=
=20
javascript-request@ =
=20
LaTech.edu To: javascript@LaTech=
.edu =20
Sent by: cc: =
=20
javascript-admin@La Subject: Javascript d=
igest, Vol 1 #688 - 6 msgs =20
Tech.edu =
=20
=
=20
=
=20
06/28/2002 12:01 PM =
=20
Please respond to =
=20
javascript =
=20
=
=20
=
=20
Send Javascript mailing list submissions to
javascript@xxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.LaTech.edu/mailman/listinfo/javascript
or, via email, send a message with subject or body 'help' to
javascript-request@xxxxxxxxxx
You can reach the person managing the list at
javascript-admin@xxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Javascript digest..."
Today's Topics:
1. is it better to use an 2 arrays or an object (Scott.Wiseman)
2. RE: Objects with Javascript (anand)
3. RE: Objects with Javascript (Edward Tisdale)
4. Re: Objects with Javascript (Felix)
5.
https://lists.latech.edu/pipermail/javascript/2001-October/002380.html
(Stefan Weise)
6. Re: https://lists.latech.edu/pipermail/javascript/2001-October/00=
23
(Peter-Paul Koch)
--__--__--
Message: 1
From: "Scott.Wiseman" <swiseman@xxxxxxxxxxxxxx>
To: "'javascript@xxxxxxxxxx'" <javascript@xxxxxxxxxx>
Date: Thu, 27 Jun 2002 16:37:05 -0700
Subject: [Javascript] is it better to use an 2 arrays or an object
Reply-To: javascript@xxxxxxxxxx
I want to store
this
some array[counter =3D counter + 1] =3D recordnumber (large number)
some array1[counter =3D counter + 1]=3D some other value I need mabye n=
ame
or and object
and if an object how??
--__--__--
Message: 2
From: "anand" <anandkan@xxxxxxxx>
To: <javascript@xxxxxxxxxx>
Subject: RE: [Javascript] Objects with Javascript
Date: Fri, 28 Jun 2002 07:21:56 +0530
Reply-To: javascript@xxxxxxxxxx
hi
pl use following code and try
<script language=3D"javascript">
function mo()
{
alert("I am in object");
}
function ToolBarController()
{
this.i =3D 0;
this.mos=3Dmo;
//note this.<name>=3D<function name>
// <name> can be any string. here <name>=3Dmos and <function name>=
=3D mo
(defiined above)
//<name> should match the name of the function invoked upon creati=
ng
the
obj
//in this case TBC.mos() as in test fn
}
function test()
{
TBC =3D new ToolBarController();
TBC.mos();
}
</script>
</head>
<body onLoad=3D"test()">
for more info on javascript object pl visit
1)http://wsabstract.com/javatutors/object.shtml
2)http://www-106.ibm.com
and search for "creating and using javascript objects" Tutorials
bye
mohan
-----Original Message-----
From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]O=
n
Behalf Of Pramod Jain, INDENT
Sent: 27 June 2002 03:03
To: javascript@xxxxxxxxxx
Subject: [Javascript] Objects with Javascript
I am trying to do a simple example with a method in a class and I get a=
"Object does not support this property". Does Javascript support such
stuff...or...please let me know what I am doing wrong:
<html>
<head>
<script language=3D"javascript">
function ToolBarController() {
this.i =3D 0;
function mo() {
alert("I am in");
}
}
function test() {
TBC =3D new ToolBarController();
TBC.mo();
}
</script>
</head>
<body onLoad=3D"test()">
</body></html>
Pramod Jain
INNOVATIVE DECISION TECHNOLOGIES, INC.
(INDENT)
904.636.6374 X 12
www.indent.org
_______________________________________________
Javascript mailing list
Javascript@xxxxxxxxxx
https://lists.LaTech.edu/mailman/listinfo/javascript
--__--__--
Message: 3
Date: Thu, 27 Jun 2002 21:05:05 -0700 (PDT)
From: Edward Tisdale <edwardtisdale_1999@xxxxxxxxx>
Subject: RE: [Javascript] Objects with Javascript
To: javascript@xxxxxxxxxx
Reply-To: javascript@xxxxxxxxxx
Good question and I will look into it.
--- anand <anandkan@xxxxxxxx> wrote:
> hi
>
> pl use following code and try
>
> <script language=3D"javascript">
> function mo()
> {
> alert("I am in object");
> }
> function ToolBarController()
> {
> this.i =3D 0;
> this.mos=3Dmo;
> //note this.<name>=3D<function name>
> // <name> can be any string. here <name>=3Dmos and
> <function name> =3D mo
> (defiined above)
> //<name> should match the name of the function
> invoked upon creating the
> obj
> //in this case TBC.mos() as in test fn
>
> }
>
> function test()
> {
> TBC =3D new ToolBarController();
> TBC.mos();
> }
> </script>
> </head>
> <body onLoad=3D"test()">
>
> for more info on javascript object pl visit
>
> 1)http://wsabstract.com/javatutors/object.shtml
>
> 2)http://www-106.ibm.com
> and search for "creating and using javascript
> objects" Tutorials
>
> bye
>
> mohan
>
> -----Original Message-----
> From: javascript-admin@xxxxxxxxxx
> [mailto:javascript-admin@xxxxxxxxxx]On
> Behalf Of Pramod Jain, INDENT
> Sent: 27 June 2002 03:03
> To: javascript@xxxxxxxxxx
> Subject: [Javascript] Objects with Javascript
>
>
> I am trying to do a simple example with a method in
> a class and I get a
> "Object does not support this property". Does
> Javascript support such
> stuff...or...please let me know what I am doing
> wrong:
>
> <html>
> <head>
> <script language=3D"javascript">
> function ToolBarController() {
> this.i =3D 0;
> function mo() {
> alert("I am in");
> }
> }
>
> function test() {
> TBC =3D new ToolBarController();
> TBC.mo();
> }
> </script>
> </head>
> <body onLoad=3D"test()">
> </body></html>
>
>
>
>
> Pramod Jain
> INNOVATIVE DECISION TECHNOLOGIES, INC.
> (INDENT)
> 904.636.6374 X 12
> www.indent.org
>
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--__--__--
Message: 4
From: "Felix" <bruno.lanciau@xxxxxxx>
To: <javascript@xxxxxxxxxx>
Subject: Re: [Javascript] Objects with Javascript
Date: Tue, 9 Jul 2002 11:24:10 +0200
Reply-To: javascript@xxxxxxxxxx
Sorry, I cannot speak english very well, but see below
You cannot make a class directly.
to create an object you can write this
my_Object =3D new one_kind_of_class(atribut1,atribut2,atribut3);=
now, look at one_kind of class
function one_kind_of_class(atribut1,atribut2,atribut3)
{
this.at1 =3D atribut1;
this.at2 =3D atribut2;
this.at3 =3D atribut3;
this.method_one =3D firstMethod;
this.method_two =3D secondMethod;
}
The methods are functions declared outside the class body
function firstMethod()
{
alert("I am the first method");
}
function secondMethod()
{
alert("I am the second method");
}
Is it clear...?
Ask for more ...
CU+
F=E9lix
bruno.lanciau@xxxxxxx
----- Original Message -----
From: "Pramod Jain, INDENT" <pramod@xxxxxxxxxx>
To: <javascript@xxxxxxxxxx>
Sent: Wednesday, June 26, 2002 11:33 PM
Subject: [Javascript] Objects with Javascript
> I am trying to do a simple example with a method in a class and I get=
a
> "Object does not support this property". Does Javascript support suc=
h
> stuff...or...please let me know what I am doing wrong:
>
> <html>
> <head>
> <script language=3D"javascript">
> function ToolBarController() {
> this.i =3D 0;
> function mo() {
> alert("I am in");
> }
> }
>
> function test() {
> TBC =3D new ToolBarController();
> TBC.mo();
> }
> </script>
> </head>
> <body onLoad=3D"test()">
> </body></html>
>
>
>
>
> Pramod Jain
> INNOVATIVE DECISION TECHNOLOGIES, INC.
> (INDENT)
> 904.636.6374 X 12
> www.indent.org
>
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript
--__--__--
Message: 5
From: "Stefan Weise" <stefan.weise@xxxxxxxxxxxxxx>
To: <javascript@xxxxxxxxxx>
Date: Fri, 28 Jun 2002 15:24:10 +0200
Subject: [Javascript]
https://lists.latech.edu/pipermail/javascript/2001-October/002380.html
Reply-To: javascript@xxxxxxxxxx
do you remember your posting below? did you finally find a solution?
document.createElement("<INPUT type=3Dcheckbox checked");
... works but it's not very nice ...
have fun
stefan (bonn, germany)
----------------------------------------
[Javascript] just Checking Checkboxes
Bill Marriott javascript@xxxxxxxxxx
Fri, 12 Oct 2001 07:10:41 +1000
Previous message: [Javascript] Jobs available...
Next message: [Javascript] just Checking Checkboxes
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Everyone,
Today's problem for me is:
How in Javascript can I 'Check' a checkbox box when I add it as an
element
in code?
The code below will add it to the new row but I want to check it as wel=
l
and
if possible make it invisible
Bill.
var addObj =3D document.createElement("INPUT"); ////// a add check box=
addObj.type =3D "checkbox";
addObj.name =3D "ADDLINK";
addObj.id =3D "A1";
var addObjParent =3D newRowObj.lastChild.previousSibling;
addObjParent.appendChild(addObj);
Previous message: [Javascript] Jobs available...
Next message: [Javascript] just Checking Checkboxes
Messages sorted by: [ date ] [ thread ] [ subject
--__--__--
Message: 6
From: "Peter-Paul Koch" <gassinaumasis@xxxxxxxxxxx>
To: javascript@xxxxxxxxxx
Subject: Re: [Javascript]
https://lists.latech.edu/pipermail/javascript/2001-October/0023
Date: Fri, 28 Jun 2002 13:38:59 +0000
Reply-To: javascript@xxxxxxxxxx
>do you remember your posting below? did you finally find a solution?
>
>document.createElement("<INPUT type=3Dcheckbox checked");
>
>... works but it's not very nice ...
Does this work in NN6? I doubt it.
>Today's problem for me is:
>
>How in Javascript can I 'Check' a checkbox box when I add it as an
>element in code?
>The code below will add it to the new row but I want to check it as we=
ll
>and if possible make it invisible
>var addObj =3D document.createElement("INPUT"); ////// a add check bo=
x
>addObj.type =3D "checkbox";
>addObj.name =3D "ADDLINK";
>addObj.id =3D "A1";
Try:
addObj.checked =3D true;
>var addObjParent =3D newRowObj.lastChild.previousSibling;
>addObjParent.appendChild(addObj);
ppk
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--__--__--
_______________________________________________
Javascript mailing list
Javascript@xxxxxxxxxx
https://lists.LaTech.edu/mailman/listinfo/javascript
End of Javascript Digest
=
- Prev by Date: [Javascript] https://lists.latech.edu/pipermail/javascript/2001-October/0023
- Next by Date: [Javascript] Información
- Previous by thread: [Javascript] https://lists.latech.edu/pipermail/javascript/2001-October/0023
- Next by thread: [Javascript] Información
- Index(es):