Eli wrote:
Hi,
I know this is not the forum, but I googled and couldn't find it, so
please try to help me with this.
/*/
function MyCls(name)
{
this.name=name;
}
function SayHi()
{
alert('Hi, '+this.name+'!');
}
var obj=new MyCls('PHP');
obj.name='JavaScript'; //this will call
Richard Lynch wrote:
On Tue, April 26, 2005 7:51 pm, Eli said:
I know this is not the forum, but I googled and couldn't find it, so
please try to help me with this.
/*/
function MyCls(name)
{
this.name=name;
}
function SayHi()
{
alert('Hi, '+this.name+'!');
}
var obj=new
Hi,
I know this is not the forum, but I googled and couldn't find it, so
please try to help me with this.
/*/
function MyCls(name)
{
this.name=name;
}
function SayHi()
{
alert('Hi, '+this.name+'!');
}
var obj=new MyCls('PHP');
obj.name='JavaScript'; //this will call SayHi()
On Tue, April 26, 2005 7:51 pm, Eli said:
I know this is not the forum, but I googled and couldn't find it, so
please try to help me with this.
/*/
function MyCls(name)
{
this.name=name;
}
function SayHi()
{
alert('Hi, '+this.name+'!');
}
var obj=new MyCls('PHP');
4 matches
Mail list logo