SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2010
    Location
    Bangladesh
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Some text of a text-box or text-area restrict to readonly

    Hello Dear,

    Thank you very much for seeing my post.

    Would u pls let me know whether the following is possible or not:
    User can be able to insert text on a text-box or text-area(form) as usually we use text-area to do so. But I want to put some readonly text using an open and close tag
    for example:
    <ro>This is readonly text</ro>insert your text here

    Can I be able to make the text inside <ro>..</ro> tag readonly, it means user can't be able to modify or delete this readonly text. readonly text length not fixed. only way to recognize the readonly text is the <ro> tag.

    Thank you very much again,
    Rashidul

  2. #2
    SitePoint Evangelist
    Join Date
    Jun 2005
    Posts
    436
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've done this before...
    http://www.sitepoint.com/forums/show...ing-a-TextArea

    Admittedly can use some cleaning up, but that should put you down the right track.

    Best,
    Colin


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •