textarea Questions

5

Solved

I'm looking to create a jQuery (or javascript) button that selects everything in a textarea and then copies the text to your clipboard when you clicked on button. I have found some examples using...
Squadron asked 6/6, 2016 at 13:16

4

Solved

<form name='qform'> <textarea name='q' rows='3' cols='60' wrap='hard' id='q' onkeydown="if (event.keyCode == 13) document.getElementById('clickit').click()"></textarea> <input ...
Cesarcesare asked 15/7, 2011 at 23:31

1

This code works fine in Chrome and Firefox. But in Safari, the drag handle won't work if there is padding beyond 11px. Is this a bug in Safari, or is there something silly I'm missing? <style&gt...
Bone asked 9/11, 2021 at 5:44

3

Is there an easy way to have an HTML <textarea> alternate its row colors to improve editing? I don't mind if the solution is pure CSS or if it requires JavaScript.
Inapproachable asked 10/10, 2011 at 13:57

5

On a computer, it's easy to resize a textarea, like this one: <textarea> http://jsfiddle.net/sssdpepa/ you just click and drag the thing in the bottom right corner. But on mobile devices,...
Albuminous asked 8/6, 2015 at 2:9

5

Solved

I'm trying to eliminate the extra bottom margin that both FF and Chrome seem to give to Textareas. Surprisingly IE seems to do it correctly. I would like to avoid using conditional includes but CSS...
Qualified asked 10/8, 2010 at 22:25

2

I want to change the background color of the textarea in SceneBuilder. I failed to change in the style menu :-fx-background-color. So I found to change the background color by using the CSS file. ...
Arran asked 20/4, 2015 at 10:31

4

Solved

I have a textarea and I want it to be justified so all the lines are equal in width and to be centered to the text stays in the middle of the textarea when it's not at maximum line length. This is...
Crosswalk asked 20/8, 2014 at 19:41

5

Solved

I have a textarea that is being dynamically reloaded as user input is being sent in. It refreshes itself every couple seconds. When the amount of text in this textarea exceeds the size of the texta...
Bunnie asked 7/2, 2012 at 3:37

4

Solved

I see there are lot many questions related to the same scenario this one is little different couldn't figure out the solution. I have a in a tabl in a cell. When I give the continous text like "ccc...
Wax asked 31/5, 2019 at 15:22

16

Solved

I would like to have some functionality by which if I write <textarea maxlength="50"></textarea> <textarea maxlength="150"></textarea> <textarea maxlength="250"></...
Kearse asked 14/7, 2009 at 13:44

28

Solved

I am attempting to set a value in a textarea field using jquery with the following code: $("textarea#ExampleMessage").attr("value", result.exampleMessage); The issue is, once this code executes,...
Parley asked 6/1, 2009 at 6:3

2

I am trying to maintain top padding on textarea. But when scrollbar appears, padding top is not working. Here is my html and css. Can anyone please help me out? Thank you. <div class="form-gr...
Aggression asked 31/5, 2017 at 9:38

3

Solved

I am trying to make a text editor in react.Does anyone knows how to get the selected text from the textarea so that styles can be applied on the selected text.I know we can use window.getSelection ...
Sundae asked 6/3, 2017 at 7:10

7

My designer just gave me the design with text areas with styled resize grabber. The question is: Can I style it or not ?
Colon asked 29/10, 2012 at 17:44

3

I would to make a readonly input appear like a pre or div tag with CSS. I would have thought that it would have been easy to do with a textarea but it seems to be quite the task. I'm able to hide t...
Salted asked 20/3, 2013 at 20:1

15

Solved

I want to add a newline in a textarea. I tried with \n and <br/> tag but are not working. You can see above the HTML code. Can you help me to insert a newline in a textarea? <textarea cols...
Pickmeup asked 25/12, 2011 at 2:12

14

I would like to create a simple function that adds text into a text area at the user's cursor position. It needs to be a clean function. Just the basics. I can figure out the rest.
Linger asked 18/6, 2012 at 4:37

5

Solved

I have this code to focus a textarea when the user clicks on the "Reply" button: $('#reply_msg').live('mousedown', function() { $(this).hide(); $('#reply_holder').show(); $('#repl...
Kailey asked 5/12, 2011 at 3:43

2

Is there a way to vertically center text entered in textarea with known width and height? I have a fixed-sized textarea where text should be typed in and I want the text to start from the center wh...
Jessie asked 25/11, 2012 at 15:53

3

I want this textarea to be fit inside the table row, by its height & width, so I have used height: 100%; width 100%; on textarea and my decided height width on td. Now textarea's width is ok, b...
Madi asked 14/12, 2020 at 15:38

6

Solved

I have a text area where each line contains Integer value like follows 1234 4321 123445 I want to check if the user has really enetered valid values and not some funny values like follows 1...
Zenas asked 8/2, 2012 at 16:4

12

Solved

I'm trying to input a textarea tag when I submit my form: <textarea id="confirmationText" class="text" cols="86" rows ="20" name="confirmationText" form="confirmationForm"></textarea> ...
Ignoble asked 15/9, 2013 at 19:43

4

Solved

How do I set tab width of JavaFX TextArea ? When I use tabulation (tab key) in TextArea, the width of the tabulation is wide. I want to control the width, i.e., use 4 spaces. In the documentation ...
Adapter asked 8/12, 2012 at 1:21

5

Is there a way in HTML5 forms to add a min and max character to a textarea? It seems I can apply it to a regular input using pattern. <input pattern=".{3,}" title="3 characters minimum"> A...
Riga asked 12/8, 2013 at 10:32

© 2022 - 2024 — McMap. All rights reserved.