textarea Questions
4
Solved
I want to remove the stylings from a textarea and leave it all white without any border or glow, if possible. I've tried with different stuff found here on SO, but nothing works (tried with FF and ...
2
Solved
I have textarea and I want to change text that says what character is after the caret (cursor).
<textarea id="text"></textarea>
<br/>
Character after the caret: <span id="char...
Wendling asked 1/1, 2019 at 22:19
26
Solved
I want to count characters in a textarea, so I just made:
<textarea id="field" onkeyup="countChar(this)"></textarea>
function countChar(val){
var len = val.value.length;
if (len >...
5
Solved
I'm trying to make the textarea unscrollable but i'm unable to find a way
to get the textarea unscrollable.
I've made a simple example in jsfiddle
Thanks in advance.
Thiosinamine asked 12/12, 2016 at 15:18
12
Solved
When I display a WebView, I don't see the soft keyboard popping up. The hard keyboard also doesn't work!
What are the usual shortcomings.
The code which I use to access the WebView is:
package c...
3
Solved
How can I find the value of the current line of a textarea?
I know I have to find the caret position, but then find everything before it up to the last \n and everything after it to the next \n.
...
Komsomolsk asked 30/6, 2010 at 22:53
6
I have a textarea and for some reason when I try to add text in between the open and close brackets of my textarea it wont display, whether I use html content or php echoed content.
It works if I ...
Uranic asked 16/4, 2013 at 0:10
5
Solved
I'm working with the textarea element in HTML and want to remove the border of the box. I also want to align the text in the bottom of my textarea.
7
Solved
I hava an textarea and I am using tinyMCE on that textarea.
What I am doing actually is that when the page is opened, I am populating the textarea with some text, and after that I am initializing ...
Latton asked 3/8, 2012 at 9:52
5
Solved
I want to be able to return the value of the CKEditor textarea, and also write my text inside it.
I used CKEditor 5 CDN. First this my code for the textarea it works fine
<script src="https://...
Sphery asked 30/10, 2017 at 11:19
4
line breaks or pharagraph not working in textarea output? for example i am using enter for pharagraph in textarea but not working in output? How can i do that?
$("#submit-code").click(function...
6
Solved
How do I remove the label that comes attached to the TextArea I am trying to use with Django? I'm trying to find ANY information about this issue but I cannot seem to find anything relating to my p...
2
I have the following textarea:
How can I change the inner cursor color?
7
Solved
Using Facebook React.
In a settings page, I have a multiline textarea where a user can enter multiline text (in my case, an address).
<textarea value={address} />
When I try to display t...
Marquita asked 28/3, 2016 at 10:2
6
Solved
Is there a way that I can select a textarea such that $('#id_of_textarea').val() in jQuery will be ''? I tried using :empty. I saw that CSS provides a way to select empty inputs because the text is...
Argive asked 16/8, 2011 at 1:11
1
Solved
I am using the code from https://mcmap.net/q/74850/-textarea-auto-height-duplicate and modifying it for my question (mainly replacing element.style.height = "5px" with element.style.heigh...
Schelling asked 30/8, 2021 at 11:42
3
Solved
To practice Ruby on Rails, I am creating a blog which includes a text area (following Mackenzie Child's tutorial). When the text is submitted, all of the newlines are removed. I know variations of ...
Notch asked 8/2, 2015 at 18:49
8
Solved
I have the following:
class MyTextArea extends React.Component {
handleClick = () => {
this.focus();
}
focus = () => this.ref.focus;
handleRef = (component) => {
this.ref = compo...
Gleam asked 2/2, 2018 at 4:23
5
Solved
If I sanitize and save some meta text (called 'message') entered by the user like like this...
update_post_meta($post_id, 'message', sanitize_text_field($_POST['message']));
...and then retrieve...
Nichellenichol asked 7/12, 2013 at 17:3
6
Solved
Chrome allowed to resize text area by drugging that on the bottom right corner, but some times this movement may break design of the page, so i am wondering how to restrict the max and min width fo...
Privileged asked 26/8, 2011 at 12:25
2
Solved
I have a textarea with transparent text, with an underlying pre that displays the text via js, so it looks like the user is typing dynamic text as they go. It works on the same concept as the backg...
Vagrancy asked 16/12, 2013 at 6:23
23
Solved
I have a simple text area in a form like this:
<textarea style="width:350px; height:80px;" cols="42" rows="5" name="sitelink">
<?php if($siteLink_va...
14
Solved
Is there anyway through CSS or Javascript set the height of the textarea based on the content? I have a hardcoded height in my CSS but i wanted it to default so there is no vertical scroll bar on p...
Labiodental asked 4/5, 2014 at 1:28
12
Solved
I have a form with some text areas that allow a scroll bar when the text exceeds the text box. The user would like to be able to print the screen, and this text is not visible. How do I make all of...
8
Solved
Is there a way to set the cursor at the end in a textarea element? I'm using Firefox 3.6 and I don't need it to work in IE or Chrome. It seems all the related answers in here use onfocus() event, w...
Cybernetics asked 14/4, 2012 at 23:22
© 2022 - 2024 — McMap. All rights reserved.