textarea Questions
13
Solved
Every time I develop a new form that includes a textarea I have the following dilemma when I need to specify its dimensions:
Use CSS or use the textarea's attributes cols and rows?
What are the p...
3
I know it's possible to disable the resize of a textarea by using:
textarea {
resize: none;
}
But is it possible to disable either x or y? instead of both
8
Solved
I have a textarea with the the text Hello World. I would like to get the height of this text.
I've tried to use:
var element = document.getElementById('textarea');
var textHeight = element.innerH...
Tomchay asked 27/7, 2010 at 7:28
5
Solved
Forgive me for asking such a simple question, I'm new to both HTML and CSS.
Is there an easy way to center a textarea? I figured I'd just try using
textarea{
margin-left: auto;
margin-right: aut...
4
Solved
I am using HTML textarea for user to input some data and save that to App Engine's model
The problem is that when I retrieve the content it is just text and all formatting is gone
The reason is b...
Selassie asked 10/1, 2012 at 16:25
8
Of course, I can use standard html text box, but I need text area for some reason.
So, is it possible to disable textarea's multiline option?
7
Solved
I am using tinymce, I have multiple text areas on my page. Is it possible to apply for only one textarea,
1 text area is for description
validation is like below
var text = tinyMCE.get('txtdes...
Showy asked 4/3, 2011 at 10:24
8
Solved
I found the following very simple way to automatically adjust a textarea to the text height in this jsfiddle http://jsfiddle.net/tovic/gLhCk/:
function expandTextarea(id) {
document.getEleme...
Unbridle asked 4/6, 2016 at 11:47
2
Solved
I've got an HTML textarea whose width is set to 100% of the browser window, using CSS.
How can I calculate how many columns of text fit within the textarea?
Betaine asked 19/7, 2009 at 7:28
3
I wrote the following code to check whether the uploaded file exists or not using HTML5 file API.
<input type="file" id="myfile">
<button type="button" onclick="addDoc()">Add Docu...
Noli asked 20/10, 2016 at 6:15
4
Solved
Is there a way to highlight a part of text in text-area?
Say, the text is Hi @twitter @twitpic and now I would like to highlight @twitter and @twitpic only and not Hi. Is that possible?
This has ...
Barrage asked 11/12, 2013 at 11:47
5
Solved
I've found a couple resources for how to place the cursor in a textarea at the end of the text, but I can't sort out a simple way to make it appear at the beginning.
I'm prepopulating the textare...
Ramiroramjet asked 26/8, 2009 at 18:18
2
Solved
I use the following code to create a table with an image and a <textare>:
<table border="1" style="border-color: #a6a6a6" cellpadding="4" cellspacing="0" width="702">\
<col width="...
Godfearing asked 7/3, 2019 at 15:56
5
Solved
I have a textarea html element on my page that gets reloaded via ajax. The whole textarea is returned each time not just its content, and the content grows over time. Along with the textarea i retu...
Busywork asked 13/3, 2009 at 12:4
2
Solved
I'm having a hard time with TextArea's cursor, it keeps being set to position 0 in the first line, after adding new text to the Textarea.
Problem Background
I have a Textarea, when I add enough t...
9
Solved
I am trying to add an autogrowing textarea to my app but for some reason it is not working. The module that I am using is https://github.com/tagged/autogrow (it was recommneded on the ionic forum)
...
Seacock asked 29/6, 2014 at 20:57
18
Solved
I have a Textarea where users can input text. By default it has a height of 17px. However if users insert a large amount of text, I want the text area to expand accordingly. Is there a way to...
Honora asked 10/2, 2011 at 6:57
6
Solved
I have a textbox and a link button.
When I write some text, select some of it and then click the link button, the selected text from textbox must be show with a message box.
How can I do it?
When ...
Jeanajeanbaptiste asked 9/11, 2008 at 9:10
7
Solved
Was trying all possible ways, but never succeeded:
<div style="float: right">
<button type="button" value="Decline" class="btn btn-danger" data-toggle="modal" data-target="#declineModal...
Staats asked 5/7, 2014 at 9:6
2
Solved
There's a lot of threads here about converting br/> or preserving newlines across different languages, but not many regarding textarea.
I have this script:
var boxText = "";
$("textarea.BoxText")...
Nicollenicolson asked 14/5, 2011 at 4:24
2
Solved
I'm trying to write a note taking/organizing app and I've run into a frustrating bug.
Here's my component:
import React from 'react';
const Note = (props) => {
let textarea, noteForm;
if (p...
3
This is miserably mysterious. I have a form with a textarea field. I've removed decorators and all that, and I setAttribs with rows and cols (developing in Zend Framework). The textarea continues t...
Myrlemyrlene asked 2/2, 2011 at 22:57
7
I have a <textarea> element. Can I use JavaScript to detect that there are (for example) 10 rows of text in it?
Homage asked 19/11, 2009 at 3:7
2
Solved
I have the following form component in a skylight dialog, after submit, if the dialog is reopened containing the form, it contains the previous submitted value. Can anyone please tell me how to sto...
Tripedal asked 25/6, 2015 at 13:24
12
Solved
i have this form and im trying to get the value from the text area. for some reason it doesn't want to.
<form action="/profile/index/sendmessage" method="post" enctype="application/x-www-form-u...
Enuresis asked 8/5, 2012 at 22:10
© 2022 - 2024 — McMap. All rights reserved.