#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    UK
    Posts
    1
    Rep Power
    0

    textarea no data


    I have a html form that imports data from an access database.

    Now the problem is when I try to import the data into a <textarea>. The data does not appear in the textarea. If I change ity to an input box then the data shows.

    Is there anything special that needs to be done to enable the data to be visible

    Cheers

    B
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    6
    Rep Power
    0
    Only difference, really, is that the <TEXTAREA> has no "Value" attribute.
    Here is an example of how I did it;

    <TD width=20% valign=top>
    <textarea name="Notes" ROWS="10" COLS="30" WRAP="Virtual" onFocus="addReturn(this)" CONTENTEDITABLE = sCanEdit onChange="javascript:this.value=this.value.toUpperCase();"><%=rs("Notes") %></TextArea>
    </TD>

    Hope it helps.

IMN logo majestic logo threadwatch logo seochat tools logo