Search Result

Collapse
7 results in 0.0036 seconds.
Keywords
Members
Tags
textarea
  •  

  • luke noob
    started a topic How can i grab the id value using jQuery?

    How can i grab the id value using jQuery?

    To explain i think I might be easier to show my code first...

    My HTML is a form so someone can write and send a message. they can send the message to any name in my database.

    Code:
    <form method="post" name="postMessage" action="">
                    
    <textarea class="input" cols="50" rows="10"></textarea>
    
    <input
    ...
    See more | Go to post

  • ukfusion
    started a topic change focus when textarea overflows

    change focus when textarea overflows

    Hi,

    I have 2 fixed width and height textareas. with transparency and scroll bars/border hidden.

    I am letting people type text into the 1st textarea....whe n they type enough text to cause the textarea to overflow/require scrolling(verti cally) i would like the focus to shift to the 2nd textarea automatically.

    I tried using element.scrollH eight but it only returns the height not including vertical scroll....
    See more | Go to post

  • Rishabh Chandra
    started a topic <script> tag not been processed in textarea
    in PHP

    <script> tag not been processed in textarea

    Hello,

    To demonstrate XSS attack, I am building a web app which does the following:

    1. Works like a forum
    2. Takes posts from users via a HTML textarea and store these messages in the mysql db
    3. Displays all posts from the users on a thread. The objective is to show an XSS attack such as
    Code:
    alert("attack");
    due to insufficient filtering of the input.

    I am using a MySql db...
    See more | Go to post

  • How to detect a textarea and insert onKeyPress into that textarea using javascript?

    I would like to detect a textarea in a form using javascript. And insert onkeypress into that textarea.
    I do no want to change original html code for textarea.
    I just want to add <script> tag in header section of a page and that <script> tag detect textarea in that page and insert onkeypress event into textarea
    Thanks.
    See more | Go to post

  • How to retain line breaks from a textarea in a simple form

    I am using a simple form in modx CMS and I need the textarea to retain the line breaks.

    I'd prefer a javascript solution if possible.

    This is because the textarea will be used to order food and the client doesn't want to receive a single line of text.
    eg, this entry:

    1 can coke
    3 beef sandwiches
    1 cake

    is received as:

    1 can coke 3 beef sandwiches 1 cake

    ...
    See more | Go to post
    Last edited by Niheel; Sep 23 '10, 03:35 PM.

  • pgm16
    started a topic HTML coded text from database do not display properly
    in PHP

    HTML coded text from database do not display properly

    I just added a WYSIWYG editor on my website so my users can format their content any way they want. The editor works fine and is successfully saving the html coded content on the database.

    The problem is when I try to view the content, here's what it shows on the webpage:

    <span style="font-family: Impact;">This is&nbsp; just a test ad only.</span><br><span style="text-decoration: line-through;">This...
    See more | Go to post

  • humbis
    started a topic textarea predefined text
    in PHP

    textarea predefined text

    Hey how are you guys?
    Well I have a little question.
    How can I add predefined text to this textarea? :S .
    Thanks in advanced :D.

    [code=html]<tr>
    <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox" >
    <tr class="infoBoxC ontents">
    <td><table border="0"...
    See more | Go to post
    Last edited by Atli; Jun 18 '09, 11:16 PM. Reason: Changed [quote] tags to [code] tags.
Working...