The moose likes HTML, CSS and JavaScript and the fly likes Create an object on the fly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Create an object on the fly" Watch "Create an object on the fly" New topic

Create an object on the fly

samuel marin

Joined: Nov 18, 2011
Posts: 16
I have a select with a OnChange Function. I would like to know how to create a different object depending on the selection on the Select.


MySelect have Option 1 and Option 2, so

I'm using the object under <body> and it's working, but when I'm trying to use it under a <script> does not work.

This is the object I'm trying to create: (It is a map) so what I'm trying is to change the values or map depending on the selection of the Select.

Thank you very much
Don't get me started about those stupid light bulbs.
subject: Create an object on the fly
Similar Threads
Flash program not loading when using struts
embedding flash in strust JSP generated html
problems playing swf file
Help with flash header
Displaying .swf in http and https