Home > Backend Development > PHP Tutorial > How to implement the editing function of the curriculum?

How to implement the editing function of the curriculum?

WBOY
Release: 2016-08-08 09:06:36
Original
1682 people have browsed it

How to implement the editing function of the curriculum?
According to different classes, fill in the corresponding class courses, but how to implement the editing function

Reply content:

How to implement the editing function of the curriculum?
According to different classes, fill in the corresponding class courses, but how to implement the editing function

Put an input tag in the editable area.

1. Consider how to trigger editing mode
2. Consider how to submit editing content

For example, if it seems more fun, bind an event to the corresponding editable place to display the input when clicked, and submit the data when the input loses focus

Let me give you a link: Use Jquery to turn text into a text box after clicking on it and it can be modified

Thanks for the invitation! In this case, you need to set up a corresponding text input box in the corresponding place where you edit the course. Click on the current question to display the corresponding text input box.

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template