Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6905529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:11:40+00:00 2026-05-27T08:11:40+00:00

I am working on generating gantt chart using jquery. Have searched alot, but didn’t

  • 0

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:

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:

forloop{
var task+taskID = MainGanttTask(taskID...)
}

forloop{
task+taskID.addChild(childTaskID...)
}

So, is there any way to get my “task+taskID” variable working?

Thanx in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:11:40+00:00Added an answer on May 27, 2026 at 8:11 am

    Why don’t you use arrays?

    forloop{
        tasks[taskID] = MainGanttTask(taskID...)
    }
    
    forloop{
        tasks[taskID].addChild(childTaskID...)
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following code working on a development environment (SQLite) but generating an error
I am generating json from an array using json_encode() , it's working properly, but
I am working on generating Java objects from an XSD file using JAXB 2.1.
I am working on generating emails using Java. I would love to use some
I am generating the xml file using the DOM and the program is working
I'm working with generating .pdf's from PHP using this library: http://www.fpdf.org/ I am currently
I'm generating pre-signed urls with AmazonS3 .NET SDK. They were working fine but they
I've been working on a process for programmatically generating Visual Studio projects using GetProjectTemplate.
I have a working process, behind a web application, that is generating some records
I have a form generating dynamic cookie, say: webform-62[1234356] 62[1234356] can be any number.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.