homepage Welcome to WebmasterWorld Guest from 54.242.200.172
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
How to make Edit box partially prefilled with readonly value
text-box edit pre-filled
iamvela




msg:3911677
 9:26 am on May 12, 2009 (gmt 0)

I am wondering how can I make an edit box with the first part pre-filled?

Simialr to how Facebook does for status y'know: John is blah-blah, where the user can click inside the edit field bit "John is" is greyed out and uneditable while the rest of the text field can be edited and the user can enter text such as "having a fabulous day" to produce the final status message of: :
"John is having a fabulous day"
for that user's profile.

Any help would be much appreciated.
--

 

dreamcatcher




msg:3911890
 3:29 pm on May 12, 2009 (gmt 0)

Use an image maybe? Have the image a fixed with, left aligned inside the box and pad the box left to start the text after the image?

dc

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved