Home  >  Article  >  Web Front-end  >  Biaoge 1.1 (smart form) is available for download_javascript skills

Biaoge 1.1 (smart form) is available for download_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:26:311123browse

Seeing that some friends like it, I released it for download
下载文件 Click to download this file
Since it was made for learning js, I don’t like the code writing: (
If you want to continue writing, you can only rewrite it. It depends on the time.


The code will be transferred to prototype1.4
Add the save and open function
http://onewww.net/code. /table/1.1

/*
Name of work: Brother Biao
Version: 1.1
Author: Gu Zulin
Net name: llinzzi
Website: http:/ /onewww.net

Code Features
The entire program is based on Ajax technology
The code is based on prototype1.4. (It has not been completely transplanted due to time constraints)
Code separation js css html code separation, Can be used for any custom table;

Operation method
1 Editing operation
Keyboard operation
1. Insert key adds a row and copies the last row content, Delete key deletes the last row One row, this operation is used to adjust the total size of the table;
2. The Tab key moves the cursor horizontally, and the Enter key moves the cursor vertically, in line with Excel user habits;
Page operations
1. Select all Select all row, execute again to release all rows;
2. Copy selected Copy the selected row and its content;
3. Delete selected Delete the selected row;
4. Clear selection Clear all cells Content in the grid (input);
5. Submit using ajax technology to send data content to the server
2nd file operation (completely completed with ajax technology here)
Save
Just enter the name Perform save operation
Data is transferred to the server based on ajax technology, and progress is displayed
Open
Click Open to open the file list, click the item again to open the table

Three Intelligent Operations
This function is the focus and feature of this work
Double-clicking a cell will pop up a menu, which automatically collects all unique entered content in the column, providing convenience for repeated data entry;

Purpose
Suitable for entry of multi-user large-scale BS mode system, such as business orders, etc.

*/

Statement:
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