Textbox save/edit

A

anush

Hi,
I want to create a ajax textbox where when I add some content and save
it, it saves the content and also appends the username to the content.
And when I clcik the edit button, I just get the content without any
username.

I saw this is in flcikr notes where when I comment on an image, it
displays the content with the username at the end and when i edit it
only the content is retrieved in the box.

Can anybody please suggest me on how I should go about doing it.

thanks,
Anush
 
D

David Mark

Hi,
I want to create a ajax textbox where when I add some content and save

There is no such thing as an "ajax textbox." I assume you mean a
textarea that is part of a form that can be submitted via Ajax.
it, it saves the content and also appends the username to the content.

That is done on the server.
And when I clcik the edit button, I just get the content without any
username.

That's because the server is not actually appending the user name to
the content, but adding it to the generated page after the edit
operation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,147
Messages
2,570,833
Members
47,380
Latest member
AlinaBlevi

Latest Threads

Top