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

147
Views
jstree rename node block alert tag HTML

I have a code used to edit the name in jstree, but when I change the name with an html code, it shows a message, how to block the html code?

'Rename': {
          "separator_before": false,
          "separator_after": false,
          "label": "Edit",
          "icon": "fas fa-edit",
          "action": function (data) {
                     var inst = $.jstree.reference(data.reference),
                     obj = inst.get_node(data.reference),
                     selected_id = obj.id;
                     let a = $('a #1-1-1_anchor ').jstree('get_selected', true)[0];

                     let node_level = $('#' + selected_id).attr('aria-level'),
                     id = selected_id + "_anchor";
                     inst.edit(obj);
                     renameJsTree(obj);
                    }
                },

Demo:

enter image description here

and: enter image description here

How to block notifications or tag HTML? Please help me

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!