Javascript – use a variabel to call up an object

May 6, 2012 at 9:15am

Javascript – use a variabel to call up an object

I was trying to feed an objects name into a variabel and then use the variabel to interrogate the objects properties. Any idea why this concept is not working?

Attachments:
  1. train4.js
#63444
May 7, 2012 at 4:42am

Here is the solution.

Attachments:
  1. train4.js
#228763

You must be logged in to reply to this topic.