i have a problem in X-editable bootstrap 3 textarea, need to change cols and row size
$('.editable_textarea').editable({
cancel: "Cancel",
submit: "Save",
type: "textarea",
cols: "55"
});
While running it takes only the default value, not our value for cols, and rows. Have any suggestion? Thanks in advance
Use shown event of bootstrap editable like this:
$(".editable_textarea").on("shown", function (element, test) {
$(test.input.$input[0]).attr("cols", "55")
});