All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

jQuery Strategy for Status Update Feature

  • # May 19, 2009 at 10:01 am

    Many of you have probably seen a website (like Facebook) where you click on some text and it becomes a text box. If you enter text and click save it writes the new text where the old text was…if you cancel, it writes the old text back…all using the same bit of real estate on the page.

    Has anyone seen an example of that in a tutorial anywhere? Before I reinvent the wheel (using a div and over-writing it on click with some back-up logic), I was curious if there was a pattern for this yet. If you have, is there a name for this feature?

    Thanks in advance.

    # May 19, 2009 at 10:11 am

    Had a thought while writing this to just have the status be in an input text field to start, remove the decoration, and re-apply the decoration when it is active. More to come… :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed