Questions tagged as 'textarea'

2
answers

How to put a json code in textarea html?

I'm developing a page that shows JSON code snippets in a textarea, but I've seen in some sites that there is some kind of plugin for this kind of view as in the "Errors / Exceptions" tab of this site - > link ... would you like to know if t...
asked by 25.08.2017 / 19:08
1
answer

How to create a textarea autorisize with js? [duplicate]

I need to create a text field that grows with what the user types, but it has to be with pure JavaScript, without jquery or anything like that.     
asked by 29.12.2016 / 13:32
1
answer

Format TextArea JavaFX

I'm creating a kind of notepad, and I'm trying to find some way, so that the user can format their letter, size, color, etc. in a JavaFX TextArea. Would anyone know if JavaFX has a specific library for this? so I can insert above the TextArea a...
asked by 13.11.2015 / 19:45
1
answer

Detect ":" and show suggestions with jQuery

I have a textarea and I would like to know how to detect the : character and from there, show suggestions listed in an array with all the possibilities of "auto complete" and filter the results ... Here is an example: I a...
asked by 25.04.2015 / 01:15
2
answers

How to add titles above input and textarea?

How to add a title above input and text-area and add space between them? Ex: Thetitleyouwouldliketodoisrepresentedby"Your text" and the input by "Text here".     
asked by 07.09.2015 / 17:35
1
answer

Apply size in a textarea, unless it has the "rows"

I have a textarea that is formatted with the following rule: .wm-form textarea{ min-height:100px; resize: vertical; width:100%; border-radius:4px; border:1px solid #ccc; } <form class="wm-form"> <textare...
asked by 01.11.2016 / 18:17
1
answer

Preserve line break when Replicating val () content in span

Good afternoon, in line with this topic - https: //en.stackoverflow.com/questions/203969/replicate-control-of-val-em-span I have the following code $('textarea.skills_knowledge').blur(function() { var skills_knowledge = $(this).val();...
asked by 12.05.2017 / 18:50
1
answer

maxlength plugin on ckeditor does not work

I need to limit the amount of characters in CKEditor. I followed the step by step of this topic: Limit text in CKEDITOR But it did not work. Below the changes made to my code: <textareaid="desc" name="desc" data-maxlen="10" rows=...
asked by 03.04.2018 / 14:00
3
answers

Modify element via JavaScript and "warn" the page that the element has been modified

$(document).ready(function(){ $("#myTextarea").change(function(){ alert("text area changed"); }); //$("#myTextarea").keydown(function(){ //alert("text area changed"); //}); }); setTimeout(function() { $("#myT...
asked by 11.09.2017 / 16:48
1
answer

How can I add paragraphs in a TEXTAREA TAG?

$("#text").on("focus", function(){ $(this).keypress(function(e){ if(e.keyCode == 13 | e.which == 13){ //this.value += '</p><p>'; document.execCommand('formatBlock', false, 'p');...
asked by 13.04.2017 / 14:20