Jinplace without html tags by click and edit

Issue #21 new
dynamic-pro
created an issue

Hi,

how its possible that on click of edit field / text, tags stripped of any html code on that text which returns by data-url . (like strip_tags php function)

Because from database returns values with html tags and colors, but only for look not for save end editing a field !!!

Which solution is possible ???

Hope for answers ... Thanks before!

Comments (2)

  1. dynamic-pro reporter

    a function like this but event handler doesnt work correctly !!!

    $('.data_field').onclick(function() {

    var content = $('.data_field form input').val();

    var text = $(content).text();

    $('.data_field form input').val(text);

    });

  2. Log in to comment