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

245
Views
How to use javascript string interpolation with Jinja template

I have a jQuery code of datatable. I am trying to insert a button in the last column.

columnDef: targets[-1], render :function (data,type, row,meta) {return `{{${edit_button(row.id)}}}`}

edit_button is a macro that consist code for a button element.

This code is throwing error $ is undefined.

Kindly give me a way to render Jinja template from jQuery datatable.

about 4 years ago · Juan Pablo Isaza
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!