Al Programming
Free source code programming in C#, VB.Net, Java, SQL
Search This Blog
Tuesday, March 26, 2013
Object JavaScript
In JavaScript you can define and create your own objects.
<!
DOCTYPE
html
>
<
html
>
<
body
>
<
script
>
var
car =
new
Object();
car.type =
"Audi"
;
car.speed =
"300"
;
document.write(car.type +
" speed is "
+ car.speed +
" KM/Hour."
);
</
script
>
</
body
>
</
html
>
Newer Post
Older Post
Home