Home > Web Front-end > JS Tutorial > body text

Code to implement state-limited editing based on jquery_jquery

WBOY
Release: 2016-05-16 17:56:21
Original
856 people have browsed it

The initial situation of the page form is as shown in the figure, all text boxes cannot be edited


Copy code The code is as follows:





Project status limit
< ;script type="text/javascript" src="jquery-1.4.2.min.js">



< body align='center'>










< ;td>1 winning bid



< /tr>
















< tr>





Status Progress Responsible person Time

< input type="text" maxlength="100" />
2 Negotiation


3 Review

4 Signing


5 Complete





There are 5 states in total. When you are required to click the check box of a certain state, the text boxes of this state and its previous state can be edited, and the subsequent text boxes cannot be edited, as shown in the figure

The source code to achieve the above effect is as follows:

Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!