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

197
Views
showing tags in escape() from a database column containing strings with tags

I have this for each, the legend.value is a column in my table where all strings are tags

            $.each(response.all_legends, function (key, legend) {
            tbody+='<tr>'+
                        '<td><a href="" onclick="appendMessageText(this)" class="blue-1">'+escape(legend.value)+'</a></td>'+
                        '<td>'+legend.text+'</td>'+
                    '</tr>';
            });

1

my problem is that when I encased it inside escape() the tags turn into their entities, how do I fix the UI issue?

2

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!