dynamic jQuery variable name
<p>I am working on generating gantt chart using jquery. Have searched alot, but didn't reach any conclusion on if it is possible to declare a dynamic jquery variable. Here is a sample of what I am trying to do:</p>

<p>First, I am trying to generate a dynamic main task from the database. I want to make the variable name dynamic so that i can dynamically assign it subtasks. want to do somthing like:</p>

<pre><code>forloop{
var task+taskID = MainGanttTask(taskID...)
}

forloop{
task+taskID.addChild(childTaskID...)
}
</code></pre>

<p>So, is there any way to get my "task+taskID" variable working?</p>

<p>Thanx in advance.</p>
