最好的内容编辑方法?

I have a page which contains a UL - what I'd like to do is be able to delete a Li element or add a Li element via jquery / php / what you think best.

The user would need to be able to name the li class, specify an image and add a few words description.

Whats the best way to tackle this?

In Jquery:

you can append new elements with:

$("#myUl").append($("<li>New List Item</li>"));

or remove them:

$("#myLi").remove();

to add a class you can:

$("<li>New List Item</li>").addClass("New Class");

to add a text:

 $("<li>New List Item</li>").html("New Text");

You could use a Rich text editor that gives a WYSIWYG view.

TinyMCE is a good free one.

Alternatively, a form and a couple of input boxes, then a bit of Javascript can add a new LI to your UL via jquery or direct DOM manipulation.

However, do you need these additions to be saved to some kind of storage ?

You could use a full WYSIWYG editor like tinyMCE.

If you don't want to go that far, you need to develop a Content Management System yourself with PHP and Javascript.

It wouldn't take too long but you might need to create a login system which would mean storing user details in a database. It's a steep learning curve if you haven't done it before. How much experience do you have?