What I need to do though is pass an argument to someFunction. If I create it statically, it would take 2 arguments (event, id). I know that the above code passes event automatically, but how can I also pass it a string value for id?
Ok, well, while I await anyone's suggestions for the above solution, I have figured out a workaround. I created the DIV in HTML and set the display to none. When I need a new one, I use the cloneNode function of that div, give it a new ID and various other properties and all works well.
Joined: Nov 08, 2001
It should have worked if I would have not typed it wrong....