42 Topics

Member Avatar for
Member Avatar for Jon_7

I'm not extremely great at coding, but I'd like to have players in my basketball program be able to copy and paste some code (on their phones) from a textarea. The catch is I also want the button to turn green and say the words "Copied! Now open the app …

Member Avatar for pdsubbu
0
380
Member Avatar for rsleventhal

Hi, I'm a total hack with jquery and need some help. I've an html select list and a text area. The select has about 25 options in it. When a specific option is selected, I'd like to populate the text area with some text. Example: HTML: <label for="comments">Technician Comments: </label><textarea …

Member Avatar for JJenZz
0
2K
Member Avatar for Niloofar24

Hi. There is a textarea in my page. I type a text in the textare and then in the script there is: $text = nl2br(htmlentities($_POST['text'])); Now what is the problem? When i type: `I'm fine.` It will be sent to db and will be printed, in both place as: `I'm …

Member Avatar for diafol
0
362
Member Avatar for Niloofar24

Hi. In my CMS, when i type a content for a new post in the textarea, like this: one two three four five six and then click the submit button, it will save in the db table like the way i have typed, every word in a separate line. But …

Member Avatar for Niloofar24
1
1K
Member Avatar for rubai

Hi all, I have a contact form. In the message text area the right border is not showing in chrome browser. It is cool in other browsers. here is the link http://theshortstoriesonline.com/amarnamrub/ Thanks

Member Avatar for rubai
0
1K
Member Avatar for zentsang

OK... so here's the deal. I have tried multiple Google and forum searches to no avail. Maybe it's they way I'm searching but this is a last resort. I'm trying to have a page (HTML and Javascript mix) that a user can input a few lines of code into. Then …

Member Avatar for zentsang
0
6K
Member Avatar for yankeefan24

Is there away to limt cftextarea by word not characters? I need to limit my form to 250 words. is there a way to do this?

Member Avatar for danarashad
0
337
Member Avatar for game4tress

I'm creating a chat system using Codeigniter and I need to update a textarea with a field in the database each second. For that I'm trying to use jquery for the timer but I don't know how I can update the textarea with data from the database, with a call …

Member Avatar for game4tress
0
2K
Member Avatar for TimiDani

Hello, I have an account in which logged in there is a 30 character-long text box. This text box is an information to others to see details about me. I would like to set a link (iframe?) link in order to let other click on it. I know that officialy …

Member Avatar for JorgeM
0
133
Member Avatar for razamughal67

Hello every one i have a problem webbrowser1 cannot fill textarea. we use already a command to fill form in my another projects. this command work fine. but in this site this command could not work. web1.Document.GetElementById.All("description").Value = Text5.Text Kindly help me to solve my problem. cause we invest 1600$ …

Member Avatar for razamughal67
0
195
Member Avatar for eoliva

I need to store the values of a textarea tag using a form to submit the value and finally store to a mysql database table. Here is what I have, I am sure its something dumb, but its been a while since I have used php. [CODE] <?php if(isset($_POST['submit'])){ $con …

Member Avatar for DenaEden
0
4K
Member Avatar for essaydoctor

I'd like to create a textarea such that when one textarea is complete, another identically-sized text area magically appears and floats to the right. The new "spill over" text would now be here. Another way to explain what I'm looking for is this: Open up MS Word, and view the …

Member Avatar for pritaeas
0
144
Member Avatar for dqddani

Hi, I would like to make a window with a given size, and a scrollable textarea to a given place within. When I tried the same with a button instead of textarea, it was no problem: make a JFrame, put a JPanel inside, put a JButton on the panel. Then …

Member Avatar for subhraakasuny
0
257
Member Avatar for rayidi

Dear All, I'm struglling with one small prblm with my code. // Charecter count $(document).ready(function (){ $('#msgbx').click(function(){ var charLength = $(this).val().length; $('#charcount').html(charLength + ' of 250 characters used'); // Alerts when 250 characters is reached if($(this).val().length > 250){ $('#charcount').html('<strong>You may only have up to 250 characters.</strong>'); }); }); Please help …

Member Avatar for iamthwee
0
183
Member Avatar for kaysarchw

Hi there, I have a form with some fields. Address is one of them. I used textarea tag for address. Now the problem is, when i search something according to one address, it only works for the one line addresses. I mean if i entered a newline (Paragraph format) in …

Member Avatar for pritaeas
0
204
Member Avatar for Sanchixx

Hello, I have a comment box that uses php her is the code: <?php $act = $_POST['act']; if($act == "post") { $name = $_POST ['name']; $area = $_POST ['area']; @$fp = fopen("comments.html", 'a'); if (!$fp) { //The file could not be opened echo "There was an error! Please try again …

Member Avatar for diafol
0
303
Member Avatar for HTMLperson5

I would like to write a page which accepts Value of textbox / input-field using javascript. As you get values from this: <script type="text/javascript"> var cheese=1 document.write(cheese) </script> Maybe the value `cheese` could be taken from text which the user has to enter....how?

Member Avatar for code739
0
15K
Member Avatar for zacharysr

How would i make a text area like Facebook's comment text box's. I want it to auto expand when they type to a new line. And just hit enter to post the forum. How would i make it do this?

Member Avatar for diafol
0
122
Member Avatar for softDeveloper

Hi All, I'm copying a long text from word and pasting into a html textarea and from here I send it to MySQL database. If the submited text is too long nothing happens. Any ideas on how to submit a large amount of text from a webpage to a MySQL …

Member Avatar for stultuske
0
196
Member Avatar for teamjea

When I in FF send an updated textarea text for database update I do not get the current value, but the old value. I use jquery, and as far I can tell there is nothing strange in the code, thd DOM is loaded etc. When I do the same in …

Member Avatar for Troy III
0
134
Member Avatar for learner guy

i want to assign content of textarea to a div .. like in twitter when you type something and press "Tweet" a div is created and has the content of textarea.. how can i implement it , i know something about getElementById() but not sure how it can help me …

Member Avatar for niranga
0
131
Member Avatar for divsok

why this code shows <b> tags? ---------------------------- <html > <head> <title>My Editor</title> <script type="text/javascript"> var displayText=""; function boldText(){ oForm = document.forms[0]; oTextarea = oForm.elements["txtArea"]; textarea_val = oTextarea.value; oTextarea.value = textarea_val.bold(); } </script> </head>

Member Avatar for divsok
0
311
Member Avatar for Jay-Kandari

Hey guys, Was really fed up with this problem .please check it out. I have a PHP page which calls and retrieves a text from other PHP page. Now using the Normal textarea element the value is showing in the textarea. Now I wanted that text area to be as …

0
173
Member Avatar for JaffaApophis

Hello, I am trying to build a GUI with 2 textfields (1 for tutoring time & 1 for payment for session), a textarea (display the inputs in 2-D array & show report), and a few buttons (ENTER, RUN REPORT & QUIT). The two textfields are for the user to enter …

Member Avatar for JamesCherrill
0
445
Member Avatar for Danielhuo

I am writing a Java program, a MP3 Manager, but I have problems to work with buttons, TextFields, and TextArea. Here are the problem descriptions. Create a class MP3 with instance variables for: artist, song, album, track length (in seconds). Provide a constructor, get/set methods, and a toString. method. The …

Member Avatar for Danielhuo
0
1K
Member Avatar for dean8710

I have problem with text area where, after loading a page which contains TEXT AREA, the text area auto tab in the field. Its looks ugly because I have put a watermark on the field to lets user know what is text area for. The css: textarea { font-size:12px; width:500px; …

Member Avatar for dean8710
0
143
Member Avatar for megachip04

I'm hoping there is a simple solution to this. I am using a form to submit some information. One of the boxes is a textarea. When i submit the form it runs this line of code: [CODE] if (!isset($_POST['textarea']) [/CODE] it seems to register that there is type there regardless …

Member Avatar for ddymacek
0
3K
Member Avatar for klemme

Hi all, I have installed Tinymce on my textareas, which are working fine. I have more than one textarea, and the Tinymce attaches itself on ALL textareas, where I only need it to display on one. It starts like this, and logically it will show on textareas, anyone who knows …

Member Avatar for vibhaJ
0
210
Member Avatar for erdemece

Hi everyone. I'm trying to develop a little blog by my self. and I'm gonna write in it as you guess but I want to give link, show picture, show video and also I want to make bold some letters. Im gonna do video and bold replace with bbcode. thats …

Member Avatar for smantscheff
0
185
Member Avatar for Progr4mmer

I wanted to know if its possible to change the text of a JTextArea or JTextPanel from another method and if so how?

Member Avatar for Progr4mmer
0
194

The End.