SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Dec 2009
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    html 5 contenteditable

    Here is a code which shows contenteditable feature in html 5.

    List are to display ...not for edit.....why editable feature is allowed here ? It does not make sense to me.

    html5content.png

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,176
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Presumably the article gives a reason for using this code. Where was it from?

    Anyhow, this attribute provides a simple way for people to edit what's on screen—such as you if you are the site owner, or people who want to edit their comments etc. Obviously you have to be careful who has such privileges. The list example above is just an example of how to make content editable. It's not a statement about what you should or shouldn't be able to do with lists in particular.

  3. #3
    SitePoint Addict
    Join Date
    Dec 2009
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    Presumably the article gives a reason for using this code. Where was it from?

    Anyhow, this attribute provides a simple way for people to edit what's on screen—such as you if you are the site owner, or people who want to edit their comments etc. Obviously you have to be careful who has such privileges. The list example above is just an example of how to make content editable. It's not a statement about what you should or shouldn't be able to do with lists in particular.
    Ok. but if you really want to edit lists then you should save it to database for later viewing ...is not it ? otherwise just editing does not make any sense.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,176
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by windowsxp View Post
    Ok. but if you really want to edit lists then you should save it to database for later viewing ...is not it ? otherwise just editing does not make any sense.
    Yes, this is only a small part of the picture. Where is that screen shot you posted from? I'd like to see the whole article.


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
  •