person.fname will give you fname object of person object.
person.lname will give you lname object of person object.
person.age will give you age object of person object.
for (x in person)
{
alert(person[x]);
}
it'll iterate through the person object.
While in person.x; 'x' is an unknown property to person object.
It is better you should go through some basic javascript concepts, [here][1]here and [here][2]here. [1]: http://www.tutorialspoint.com/javascript/javascript_quick_guide.htm [2]: http://www.echoecho.com/javascript.htm
person.fname will give you fname object of person object.
person.lname will give you lname object of person object.
person.age will give you age object of person object.
for (x in person)
{
alert(person[x]);
}
it'll iterate through the person object.
While in person.x; 'x' is an unknown property to person object.
It is better you should go through some basic javascript concepts, [here][1] and [here][2]. [1]: http://www.tutorialspoint.com/javascript/javascript_quick_guide.htm [2]: http://www.echoecho.com/javascript.htm
person.fname will give you fname object of person object.
person.lname will give you lname object of person object.
person.age will give you age object of person object.
for (x in person)
{
alert(person[x]);
}
it'll iterate through the person object.
While in person.x; 'x' is an unknown property to person object.
It is better you should go through some basic javascript concepts, here and here.
person.fname will give you fname object of person object.
person.lname will give you lname object of person object.
person.age will give you age object of person object.
for (x in person)
{
alert(person[x]);
}
it'll iterate through the person object.
While in person.x; 'x' is an unknown property to person object.
It is better you should go through some basic javascript concepts, [here][1] and [here][2]. [1]: http://www.tutorialspoint.com/javascript/javascript_quick_guide.htm [2]: http://www.echoecho.com/javascript.htm
person.fname will give you fname object of person object.
person.lname will give you lname object of person object.
person.age will give you age object of person object.
for (x in person)
{
alert(person[x]);
}
it'll iterate through the person object.
While in person.x; 'x' is an unknown property to person object.
person.fname will give you fname object of person object.
person.lname will give you lname object of person object.
person.age will give you age object of person object.
for (x in person)
{
alert(person[x]);
}
it'll iterate through the person object.
While in person.x; 'x' is an unknown property to person object.
It is better you should go through some basic javascript concepts, [here][1] and [here][2]. [1]: http://www.tutorialspoint.com/javascript/javascript_quick_guide.htm [2]: http://www.echoecho.com/javascript.htm
person.fname will give you fname object of person object.
person.lname will give you lname object of person object.
person.age will give you age object of person object.
for (x in person)
{
alert(person[x]);
}
it'll iterate through the person object.
While in person.x; 'x' is an unknown property to person object.