1.1 (smart table) provides download _ javascript skills

Source: Internet
Author: User
You can see a friend who liked it.
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.


Code transfer 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
The entire program is created based 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
<一> Keyboard operation
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;
<二> 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)
<一> Save
Enter a name to save the file.
Data is transmitted to the server based on ajax technology, and the progress is displayed.
<二> 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.

*/
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.