Here I use the Jquery library, which I don’t need to introduce too much. There are a few knowledge points:
- Selector tr:eq(index), which means selecting the tr element with the specified index index. The index starts from 0
- tempRow.parent(), which means returning the parent node object of the tempRow object
- $("
课别 | 班别 | 班次 | 出勤时间 |
陈伟勋 | 一班制 | 白班 | 2011-09-09 |
陈伟勋 | 一班制 | 夜班 | 2011-09-09 |
陈伟勋 | 两班制 | 白班 | 2011-09-09 |
陈伟勋 | 两班制 | 白班 | 2011-09-09 |
陈伟勋 | 两班制 | 夜班 | 2011-09-09 |
陈伟勋 | 三班制 | 早班 | 2011-09-09 |
陈伟勋 | 三班制 | 中班 | 2011-09-09 |
陈伟勋 | 三班制 | 晚班 | 2011-09-09 |
张文军 | 一班制 | 白班 | 2011-09-09 |
张文军 | 两班制 | 白班 | 2011-09-09 |
张文军 | 两班制 | 白班 | 2011-09-09 |
张文军 | 两班制 | 夜班 | 2011-09-09 |
张文军 | 三班制 | 夜班 | 2011-09-09 |
张文军 | 三班制 | 中班 | 2011-09-09 |
Summary
The code is very rough, I just made a simple note. I have been busy organizing and writing some Jquery plug-ins and discuz plug-ins recently. The articles related to Python and PyQt have not been compiled and published in the future. Alas, I don’t have enough time, so I can only take my time. Jquery is quite good. With the built-in Sizzle selector, the speed is even faster. It seems that it is now in version 1.6. I hope it gets better and better!