Skip to content Skip to sidebar Skip to footer
Showing posts with the label Textarea

Capitalize Input Text In Javascript

In a form, I have two buttons to transform text to uppercase and lowercase. I am using this functio… Read more Capitalize Input Text In Javascript

How To Add And Combine Text Value Of 2 Textarea Elements And Populate The Combined Text In A Third Textarea Using Javascript?

Hi I have 3 textarea elements say tb1,tb2 and tb3. The text values of tb2 and tb3 should get popula… Read more How To Add And Combine Text Value Of 2 Textarea Elements And Populate The Combined Text In A Third Textarea Using Javascript?

How To Create A Character Counter For Textarea ? (angular)

CODE: Content Solution 1: Working fine : < script src = "https://ajax.googleapis.com/a… Read more How To Create A Character Counter For Textarea ? (angular)

Replace Parts Of String (attributes) In Textarea Using Input Boxes

Main Target : To create a website that will have a live preview of an HTML/CSS code. More specific… Read more Replace Parts Of String (attributes) In Textarea Using Input Boxes

How To Insert Text Into A Textarea Using Javascript Without Messing Up Edit History?

Basically what i want is if a user selects some text in a textarea and presses ctrl + b then the te… Read more How To Insert Text Into A Textarea Using Javascript Without Messing Up Edit History?

Detect Selected Text In A Text Area With Javascript

Is it possible to detect what text has been selected in a text area using Javascript? I'm look… Read more Detect Selected Text In A Text Area With Javascript

Textarea Maxlength Value Not Working

I have a textarea and I am setting maxlength from JS using DOJO library.The code is as follows: … Read more Textarea Maxlength Value Not Working

Fetching Cursor Location And Highlighted Text In Textarea Using Jquery

Having a textarea in a form I am trying to do several things: fetch the current location of the cu… Read more Fetching Cursor Location And Highlighted Text In Textarea Using Jquery

Auto Growing Textarea In Ionic

I am trying to add an autogrowing textarea to my app but for some reason it is not working. The mod… Read more Auto Growing Textarea In Ionic

Javascript/jquery Resize Textarea With Div/"grippie"

I've look at many things covering how to make a 'grippie' that resizes a textarea, and … Read more Javascript/jquery Resize Textarea With Div/"grippie"

Insert At Cursor In React

I need to insert text at caret (current cursor position) in the React-controlled textarea (like aut… Read more Insert At Cursor In React

Set Max Characters In Textarea Base On Textarea Height And Width

Notes: I tried all questions & answers related to this topic. I want to limit the number of cha… Read more Set Max Characters In Textarea Base On Textarea Height And Width

I Created Textarea Expander From Script But After, It Doesn't Expands

I don't know if the title is correct. I created, with one script, a table with 5 textarea with … Read more I Created Textarea Expander From Script But After, It Doesn't Expands

(jquery-rich Text Editor) How Can Be Fixed Bug In Rich Text Editor - When Press Enter In Firefox Created 'br' Tag But In Ie Created 'p' Tag?

I working on website that use cleditor (Jquery-Rich Text Editor). The editor have bug - when press… Read more (jquery-rich Text Editor) How Can Be Fixed Bug In Rich Text Editor - When Press Enter In Firefox Created 'br' Tag But In Ie Created 'p' Tag?

Smilies To Textarea On Click

I have a little question I want to click on my smileys and insert the text to the textarea. and whe… Read more Smilies To Textarea On Click

Javascript For Loop To Change The Name Of Textareas In A Function

I have created 50 textareas with names def1,def2,def3.....,def50. In my body onLoad() function,I wa… Read more Javascript For Loop To Change The Name Of Textareas In A Function

Turn Each Line Of Textarea Into A Link

Let's say for example i have a textarea and a toggle button: http://facebook.com http:… Read more Turn Each Line Of Textarea Into A Link

How Can I Show A Dynamically Generated Textarea On Button Click Using Knockout Js?

I want to show a text area based on a button click. Pretty simple, but the textarea and button are … Read more How Can I Show A Dynamically Generated Textarea On Button Click Using Knockout Js?

How Can I Find The Cursor Location (X/Y, Not Line/column) In An HTML Textarea?

I'd like to display a dropdown list in a to assist the user in typing certain things. You know… Read more How Can I Find The Cursor Location (X/Y, Not Line/column) In An HTML Textarea?

Need Cursor At Beginning Of Text In Textarea

I have this in my body and it works onLoad='document.forms.post.message.focus()' but I nee… Read more Need Cursor At Beginning Of Text In Textarea