See a friend like, release download
Click to download this file
Because it is made to learn JS, I do not like writing code myself :(
To continue writing, you can only rewrite it. Check the time.
CodeTransfer to prototype1.4
Added the SAVE and open function.
Http://onewww.net/code/table/1.1
/*
File Name: Brother
Version: 1.1
By Gu zulin
Network Name: llinzzi
Web: http://onewww.net
Code features
WholeProgramBased on AJAX technology
The Code is based on prototype1.4. (the time relationship is not completely transplanted)
Code separation js css html code separation, which can be used in any custom table;
Procedure
1. Edit
<1> keyboard operations
1. Add a row with the Insert key, copy the content of the last row, and delete the last row. This operation is used to adjust the total table size;
2. The Tab key moves the cursor horizontally, and the Enter key moves the cursor vertically, meeting the requirements of excle users;
<2> page operations
1. Select all rows and release all rows again;
2. Copy the selected row and its content;
3. Delete the selected row;
4. Clear the selected content in all cells (input;
5. Submit and use Ajax technology to send data content to the server
2. File Operations (Ajax is complete here)
<1> Save
Enter a name to save the file.
Data is transmitted to the server based on AJAX technology, and the progress is displayed.
<2> open
Click Open to open the file list. Click project again to open the table.
3. Smart operations
This function is the focus and feature of this work.
Double-click cells to bring up the menu. The menu automatically collects all input content that are not repeated in the column, which provides convenience for Repeated input data;
Purpose
It is suitable for inputting large-scale BS-mode systems for multiple users, such as business orders.
*/