Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

432
Views
how can I display my array data into textboxes?

Here's the scenario, I have here my array from my sqlite db then I already converted it into array, now I need to display every element into textbox. Can someone help me, please? Thank you! Btw it's flask/python.

Javascript :

$(function() {
    window.setInterval(function() {
        liveClock();
        loadNewDecimal();
    }, 1000);

    function loadNewDecimal() {
        $.ajax({
            url: "/update_decimal",
            type: "GET",
            dataType: "json",
            success: function(data) {
                arr = data.row1 + ''
                conv_arr = arr.split("-")
                //console.log(conv_arr)
            }
        });
    };
}

HTML :

</div>
   <form class="form-inline text-center justify-content-center">
      <form class="form-inline text-center justify-content-center">
          {% for row1 in rows %} <input class="form-control col-md-1 mb-2 mr-sm-2" id="Cell1" placeholder="Cell1" readonly type="text" value="{{row1["> {% endfor %}
      </form>
   </form>
</div>
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Just display it as JSON

JSON.stringfig(arr)

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!