CN106959941A - Web page form delet method and device - Google Patents

Web page form delet method and device Download PDF

Info

Publication number
CN106959941A
CN106959941A CN201610016205.8A CN201610016205A CN106959941A CN 106959941 A CN106959941 A CN 106959941A CN 201610016205 A CN201610016205 A CN 201610016205A CN 106959941 A CN106959941 A CN 106959941A
Authority
CN
China
Prior art keywords
web page
check box
table row
page form
deleted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610016205.8A
Other languages
Chinese (zh)
Inventor
程水强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201610016205.8A priority Critical patent/CN106959941A/en
Publication of CN106959941A publication Critical patent/CN106959941A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of web page form delet method and device, it is related to Internet technical field, main purpose is to improve the deletion efficiency of web page form, user-friendly.Methods described includes:Obtain the web page form containing check box in webpage, each table row of the web page form is to that should have the check box of the row, in response to dragging choosing to choose the instruction of web page form check box by mouse, obtain the corresponding table row to be deleted of the check box, when receiving triggering web page form deletion event, the table row to be deleted is deleted.Present invention is mainly used for the deletion of web page form.

Description

Web page form delet method and device
Technical field
The present invention relates to Internet technical field, more particularly to a kind of web page form delet method and device.
Background technology
Web page form is the form created using html table tag identification code in webpage, and it is not only propped up The display of data is held, the deletion of data is also supported.The data-erasure method of current web page form is in net The row of addition one delete check box, it is necessary to delete which data uses the mouse-click row pair in page table The check box answered, if necessary to delete all forms data, only need to click grid column Title head Check box then the check box of all rows can be chosen automatically in form, you can realize that batch is deleted.
Although existing web page form delet method can realize the deletion of web page form data, carrying out During the web page form of batch is deleted, if user want to delete part is continuous but not all webpage , it is necessary to which user goes the web page form of deletion required for clicking on to be deleted successively during form so that user Operate comparatively laborious during form is deleted, cause the deletion efficiency of web page form low.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes above mentioned problem or at least portion to provide one kind A kind of web page form delet method and device solved the above problems with dividing, improves deleting for web page form It is user-friendly except efficiency.
By above-mentioned technical proposal, on the one hand, the invention provides a kind of web page form delet method, Including:
Obtain each table row in the web page form containing check box in webpage, the web page form To that should have the check box of the row;
In response to dragging choosing to choose the instruction of web page form check box by mouse, the check box pair is obtained The table row to be deleted answered;
When receiving triggering web page form deletion event, the table row to be deleted is deleted.
On the other hand, device is deleted present invention also offers a kind of web page form, including:
First acquisition unit, for obtaining the web page form containing check box in webpage, the webpage table Each table row in lattice is to that should have the check box of the row;
Second acquisition unit, in response to dragging choosing to choose the instruction of web page form check box by mouse, Obtain the corresponding table row to be deleted of the check box;
Unit is deleted, for when receiving triggering web page form deletion event, by the table to be deleted Table rows are deleted.
A kind of web page form delet method and device that the present invention is provided, are obtained in webpage containing multiple first The web page form of frame is selected, in response to dragging choosing to choose the instruction of web page form check box by mouse, is obtained The corresponding table row to be deleted of the check box, will when receiving triggering web page form deletion event The table row to be deleted is deleted, and then realizes that the batch of data in form is deleted.With prior art Web page form delet method is compared, and the present invention need not choose deletion in turn when choosing table row to be deleted, But dragged using mouse and select mode to choose deletion, user's operating process is simplified, while improving webpage The deletion efficiency of form.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the present invention's Technological means, and being practiced according to the content of specification, and in order to allow the above-mentioned of the present invention and Other objects, features and advantages can become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantage and benefit for Those of ordinary skill in the art will be clear understanding.Accompanying drawing is only used for showing the mesh of preferred embodiment , and it is not considered as limitation of the present invention.And in whole accompanying drawing, with identical with reference to symbol Number represent identical part.In the accompanying drawings:
Fig. 1 shows a kind of web page form delet method schematic flow sheet provided in an embodiment of the present invention;
Fig. 2 shows web page form block diagram provided in an embodiment of the present invention;
Fig. 3 shows the table row block diagram to be deleted of web page form provided in an embodiment of the present invention;
Fig. 4 shows another web page form delet method schematic flow sheet provided in an embodiment of the present invention;
Fig. 5 shows another web page form block diagram provided in an embodiment of the present invention;
Fig. 6 shows the table row block diagram to be deleted of another web page form provided in an embodiment of the present invention;
Fig. 7 shows that a kind of web page form provided in an embodiment of the present invention deletes apparatus structure schematic diagram;
Fig. 8 shows that another web page form provided in an embodiment of the present invention deletes apparatus structure schematic diagram;
Fig. 9 shows that another web page form provided in an embodiment of the present invention deletes apparatus structure schematic diagram;
Figure 10 shows that another web page form provided in an embodiment of the present invention deletes apparatus structure signal Figure.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing in accompanying drawing The exemplary embodiment of the disclosure is shown, it being understood, however, that may be realized in various forms the disclosure Without that should be limited by embodiments set forth here.Conversely it is able to more there is provided these embodiments Thoroughly understand the disclosure, and can be by the technology for conveying to this area of the scope of the present disclosure completely Personnel.
The embodiments of the invention provide a kind of web page form delet method schematic flow sheet, as shown in figure 1, Methods described includes:
101st, the web page form containing check box in webpage is obtained.
Wherein, web page form is the form created using html table tag identification code in webpage, table To that should there is record in several table rows, each table row to have related data in lattice.
Each table row in the web page form is to that should have the check box of the row, and the check box is to delete Except check box, it can be achieved to delete function if choosing, as shown in Fig. 2 the first row of each table row To that should have the check box of the row, in addition, also to that should have a check box on grid column head, if choosing The check box, which is then given tacit consent to, chooses check boxes all in form.When carrying out list data deletion action, If the check box of table row is selected, when triggering the operation of Delete Table row, the table row will be by Delete, if the check box on grid column head is selected, when triggering the operation of Delete Table row, whole table Lattice will be deleted.
102nd, in response to dragging choosing to choose the instruction of web page form check box by mouse, the final election is obtained The corresponding table row to be deleted of frame.
When the form behavior to be deleted is multiple numbers continuous table row, acquisition here is described multiple The operation of the corresponding table row to be deleted of frame is selected, is specifically included:First in response to dragging choosing to select by mouse The instruction of middle web page form check box, obtains mouse and continuously drags the continuous webpage of multiple numberings that choosing is chosen The table row of form check box, for example, the continuous table row of numbering here can be webpage table Preceding 10 row in lattice, or middle continuous several rows etc., the embodiment of the present invention is not limited the line number of selection It is fixed, meet numbering continuous;Then by the corresponding table row of the multiple continuous check box of numbering It is used as table row to be deleted.
Further, the numbering of the table row to be deleted of the above-mentioned web page form chosen all is continuous feelings Condition, therefore, when the multiple continuous table rows of numbering of form behavior to be deleted and numbering are discontinuous During table row, the operation of the corresponding table row to be deleted of the acquisition check box here is specifically included: First in response to dragging choosing to choose the instruction of web page form check box by mouse, obtain mouse and continuously drag choosing The table row of multiple continuous web page form check boxes of numbering is chosen, is triggered then in response to by mouse Ctrl keys click the instruction for choosing web page form check box simultaneously, mouse list while obtaining triggering ctrl keys Hit and choose the table row of numbering discontinuous web page form check box, it is necessary to explanation, when having performed Choose for the first time after table row operation, ctrl keys progress of setting out is needed before follow-up selection operation is carried out Choose, so just can guarantee that the table row chosen twice can be as table row to be deleted;Finally will The corresponding table row of the continuous check box of the multiple numbering is corresponding with the discontinuous check box of the numbering Table row be used as table row to be deleted.
Here judge whether user triggers ctrl keys can be by adding the thing that button is triggered to webpage Whether part handles function, be ctrl keys, core code by the key for judging to press in event handling function It is as follows:
Further, the table row to be deleted of the above-mentioned web page form chosen may not be totally continuous OK, it may be possible to which the continuous table row of a part, certain middle several single table row, back location is again There is one section of continuous table row to need deletion, therefore, to include multi-disc more when the table row to be deleted When individual the continuous table row of numbering and the discontinuous table row of numbering, the acquisition check box pair here The operation for the table row to be deleted answered, is specifically included:First in response to dragging choosing to choose webpage by mouse The instruction of form check box, obtains mouse and drags choosing to choose first continuous web page form check box of numbering Table row, click simultaneously then in response to ctrl keys are triggered by mouse and choose web page form check box Instruction, obtains the table row of the discontinuous web page form check box of numbering, in addition, in response to passing through mouse Mark triggering ctrl keys click the instruction for choosing web page form check box simultaneously, obtain the discontinuous webpage of numbering The table row of form check box, similarly, here except the selection operation of first time need not trigger ctrl keys, Remaining operation several times is both needed to carry out selection operation on the basis of triggering ctrl keys.It is finally that the multi-disc is more It is individual to number the corresponding table row of continuous check box and the corresponding form of the discontinuous check box of the numbering Row is used as table row to be deleted.
Specifically, it is multiple including two panels as shown in figure 3, one having 11 table rows in Fig. 3 Continuous table row and 1 discontinuous table row of numbering are numbered, first frame is first 3 Continuous table row is numbered, this 3 continuous table rows of numbering can be dragged by mouse and select mode to choose The table row of web page form check box, middle single 1 numbering of form behavior is discontinuous Table row, this 1 table row can a mouse click chooses web page form final election simultaneously by triggering ctrl keys It is second 3 continuous table row of numbering, this 3 numberings in the table row of frame, second frame Continuous table row is needed by triggering ctrl keys while a mouse click chooses the table of web page form check box Table rows, and then the corresponding table row of check box will be chosen as table row to be deleted.
103rd, when receiving triggering web page form deletion event, the table row to be deleted is deleted.
According to the table row to be deleted obtained in above-mentioned steps 102, corresponding to the table row to be deleted Check box be selected, when user trigger web page form deletion event when, by the form to be deleted Row is deleted, and the core code of the process is as follows:
It should be noted that according to the table row to be deleted of acquisition, front end only need to be by table row to be deleted DOM code deleted from the dom tree of webpage, the operation can connecing by jQuery Cause for gossip shows, wherein, jQuery is a kind of JavaScript storehouses for increasing income free, encapsulates many interfaces, Various operations can be carried out to the element in webpage.Needed after front end completes deletion action by ajax Mode sends the numbering of table row to be deleted to service end, and corresponding table row is deleted from database Interior data.
For the embodiment of the present invention, specific application scenarios as described below but can be not limited to this, A web page form for there are 30 row table rows is created in webpage, each table row is deleted that should have to have The check box of function.If user needs to delete preceding 10 row table row data and the 17th row table row Data and last 5 row table row data, then drag choosing to choose preceding 10 row in web page form by mouse first Table row data, accordingly, the corresponding check box of preceding 10 row table row can be selected, then in triggering Ctrl keys are while mouse-click chooses the check box of the 17th row table row, in continuation triggering ctrl keys simultaneously Choosing is dragged to choose last 5 row table row data by mouse, accordingly, last 5 row table row is corresponding Check box can be selected, the table row to be deleted of the selected form behavior of corresponding check box here, So as to get all users table row to be deleted.End user can trigger web page form by mouse Deletion event just can delete table row to be deleted.
A kind of web page form delet method provided in an embodiment of the present invention, is obtained in webpage containing multiple first The web page form of frame is selected, in response to dragging choosing to choose the instruction of web page form check box by mouse, is obtained The corresponding table row to be deleted of the check box, is dragged by mouse and selects mode to be more convenient user to choose Table row to be deleted, when receiving triggering web page form deletion event, by the table row to be deleted Delete, and then realize that the batch of data in form is deleted.With the web page form delet method of prior art Compare, the present invention need not choose deletion in turn when choosing table row to be deleted, but be dragged using mouse Select mode to choose deletion, simplify user's operating process, while improving the deletion efficiency of web page form.
The embodiments of the invention provide another web page form delet method, as shown in figure 4, the side Method includes:
201st, the web page form containing check box is generated in webpage using standard HTML code.
Here the method that web page form is generated in webpage, can both use standard HTML generations Code generates the web page form containing check box in webpage, it would however also be possible to employ form plug-in unit is raw in webpage Into the web page form containing check box, such as DataTables is the free web page form of a exploitation Plug-in unit, can help developer to quickly generate form in webpage, the form of generation is supported sequence, searched The function such as rope and paging., can be before the first row of generation form after web page form is generated in webpage Addition one row with delete function check box, embodiment of the present invention opposite into web page form method not Limit, can specifically be chosen according to actual conditions.
202nd, mouse is obtained by the figure layer created on webpage and drags favored area.
Wherein, the mouse, which is dragged, includes the form to be deleted for choosing web page form check box in favored area OK, user drags choosing to choose table row to be deleted according to oneself demand by mouse, the table row chosen Corresponding check box can be selected.
Here figure layer represents that user's mouse drags favored area, as shown in figure 5, the figure layer is a rectangle region Domain, the frame in region can be set to red or other colors by the color parameter in layer style table, Here the color to frame is not specifically limited, for reminding user to drag the scope of favored area.
203rd, favored area is dragged to obtain choosing the form to be deleted of web page form check box according to the mouse OK.
Specifically, can basis when how to drag favored area to obtain table row to be deleted according to user's mouse The ordinate of each table row and the mouse drag the vertical seat of favored area up-and-down boundary in the web page form Mark, and then obtain the selected form table row to be deleted of check box.
For example, as shown in fig. 6, including 11 table rows, first side altogether in web page form Frame is first table row, and first table row coboundary ordinate is y1, the height of each table row It is rowHeight, second frame drags favored area for mouse, and the mouse drags favored area coboundary ordinate Top, lower boundary ordinate is bottom, then by can be calculated in web page form be selected wait delete Except the numbering of table row is volume between (top-y1)/rowHeight+1 to (bottom-y1)/rowHeight+1 Number, acquiescence form numbering is calculated since 1, calculates the numbering for obtaining the table row that mouse drags favored area For 3,4,5,6 table row, then web page form check box is chosen in the form behavior that numbering is 3 to 6 Table row to be deleted, result of calculation and mouse in Fig. 6 drag the numbering for the table row that choosing chooses identical.
204th, it is when receiving triggering web page form deletion event, the table row to be deleted is corresponding Data are deleted.
The web page form delet method of the embodiment of the present invention is broadly divided into two big steps, and the first step is by certain The mode of kind obtains table row to be deleted, and second step is that the table row to be deleted for obtaining the first step is deleted Remove.The process of table row to be deleted is being obtained by certain mode, the present invention drags the side of choosing using mouse Formula obtains multiple table rows to be deleted, simplifies the operation that user chooses multiple table rows, if desired The table row of deletion is not adjacent, then obtains many by way of triggering ctrl keys while dragging choosing using mouse Individual table row to be deleted, improves the efficiency of batch form deletion, while improving user's operating experience.
Based on above method embodiment, the embodiment of the present invention also provides a kind of web page form and deletes device, Present apparatus embodiment is corresponding with preceding method embodiment, can realize the whole in preceding method embodiment Content.For ease of reading, present apparatus embodiment only carries out summary to the content in preceding method embodiment Property description, the detail content in embodiment of the method is not repeated one by one.As shown in fig. 7, the dress Put including:First acquisition unit 31, second acquisition unit 32, deletion unit 33.
The first acquisition unit 31, it is described for obtaining the web page form containing check box in webpage Each table row of web page form is to that should have the check box of the row;
The second acquisition unit 32, in response to dragging choosing to choose web page form check box by mouse Instruction, obtain the corresponding table row to be deleted of the check box;
The deletion unit 33, for when receiving triggering web page form deletion event, being treated described Delete Table row is deleted.
Further, as shown in figure 8, in an alternative embodiment of the invention, when the form to be deleted During the behavior continuous table row of multiple numberings, the second acquisition unit 32 includes:
Acquisition module, in response to dragging choosing to choose the instruction of web page form check box by mouse, obtaining Take the table row of multiple continuous web page form check boxes of numbering;
Module to be deleted, for using the corresponding table row of the continuous check box of the multiple numbering as treating Delete Table row.
Further, as shown in figure 9, in an alternative embodiment of the invention, when the form to be deleted When the multiple continuous table rows of numbering of behavior and the discontinuous table row of numbering, the second acquisition unit 32 include:
First acquisition module, in response to dragging choosing to choose the instruction of web page form check box by mouse, Obtain the table row of multiple continuous web page form check boxes of numbering;
Second acquisition module, for choosing web page form in response to being clicked by mouse triggering ctrl keys simultaneously The instruction of check box, obtains the table row of the discontinuous web page form check box of numbering;
Module to be deleted, for numbering the corresponding table row of continuous check box and described by the multiple The corresponding table row of discontinuous check box is numbered as table row to be deleted.
Further, as shown in Figure 10, in an alternative embodiment of the invention, when the form to be deleted When the multiple continuous table rows of numbering of behavior multi-disc and the discontinuous table row of numbering, described second obtains Unit 32 includes:
First acquisition module, in response to dragging choosing to choose the instruction of web page form check box by mouse, Obtain the table row of first multiple continuous web page form check box of numbering;
Second acquisition module, for choosing web page form in response to being clicked by mouse triggering ctrl keys simultaneously The instruction of check box, obtains the table row of the discontinuous web page form check box of numbering;
3rd acquisition module, for dragging choosing to choose web page form simultaneously in response to triggering ctrl keys by mouse The instruction of check box, multiple numberings continuous web page form check box of the acquisition in addition to first Table row;
Module to be deleted, for by the corresponding table row of the continuous check boxes of the multiple numberings of the multi-disc and The corresponding table row of discontinuous check box of numbering is used as table row to be deleted.
Further, the second acquisition unit 32, including:
Acquisition module, obtains mouse for the figure layer by being created on webpage and drags favored area, the mouse Mark, which is dragged, includes the table row to be deleted for choosing check box in favored area;
Module to be deleted, for dragging favored area to obtain choosing web page form check box according to the mouse Table row to be deleted.
The module to be deleted, specifically for:
Favored area up-and-down boundary is dragged according to the ordinate of each table row in the web page form and the mouse Ordinate, obtain the selected table row to be deleted of check box.
A kind of web page form that the present invention is provided deletes device, obtains in webpage contain check box first Web page form, in response to dragging choosing to choose the instruction of web page form check box by mouse, is obtained described multiple Select the corresponding table row to be deleted of frame, dragged by mouse select mode can be more convenient user choose it is to be deleted Table row, when receiving triggering web page form deletion event, the table row to be deleted is deleted, And then realize that the batch of data in form is deleted.Compared with the web page form delet method of prior art, The present invention need not choose deletion in turn when choosing table row to be deleted, but dragged using mouse and select mode Deletion is chosen, user's operating process is simplified, while improving the deletion efficiency of web page form.
The web page form, which deletes device, includes processor and memory, above-mentioned first acquisition unit 31, Second acquisition unit 32 and delete unit 33 grade as program unit storage in memory, by Reason device performs the said procedure unit of storage in memory to realize corresponding function.
Kernel is included in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can To set one or more, the deletion efficiency of web page form is improved by adjusting kernel parameter, it is convenient User operates the purpose of the present invention.
Memory potentially includes the volatile memory in computer-readable medium, random access memory The form such as device (RAM) and/or Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM), memory includes at least one storage chip.
Present invention also provides a kind of computer program product, when being performed on data processing equipment, It is adapted for carrying out the program code of initialization there are as below methods step:Created in webpage containing check box Web page form, obtains the table row to be deleted for being dragged by mouse and selecting mode to choose web page form check box, When triggering web page form deletion event, the table row to be deleted is deleted.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system, Or computer program product.Therefore, the application can be implemented using complete hardware embodiment, complete software The form of embodiment in terms of example or combination software and hardware.Moreover, the application can be used at one Or multiple computer-usable storage mediums for wherein including computer usable program code are (including but not Be limited to magnetic disk storage, CD-ROM, optical memory etc.) on the computer program product implemented Form.
The application is with reference to the method, equipment (system) and computer program according to the embodiment of the present application The flow chart and/or block diagram of product is described.Flowed it should be understood that can be realized by computer program instructions In each flow and/or square frame and flow chart and/or block diagram in journey figure and/or block diagram Flow and/or square frame combination.Can provide these computer program instructions to all-purpose computer, specially With the processor of computer, Embedded Processor or other programmable data processing devices to produce one Machine so that produced by the instruction of computer or the computing device of other programmable data processing devices It is raw to be used to realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple sides The device for the function of being specified in frame.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable datas to handle In the computer-readable memory that equipment works in a specific way so that be stored in the computer-readable and deposit Instruction in reservoir, which is produced, includes the manufacture of command device, and command device realization is in flow chart one The function of being specified in flow or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions can also be loaded into computer or other programmable data processing devices On so that series of operation steps is performed on computer or other programmable devices to produce computer The processing of realization, so that the instruction performed on computer or other programmable devices is provided for realizing Specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames The step of function.
In a typical configuration, computing device include one or more processors (CPU), input/ Output interface, network interface and internal memory.
Memory potentially includes the volatile memory in computer-readable medium, random access memory The form such as device (RAM) and/or Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Memory is the example of computer-readable medium.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be with Information Store is realized by any method or technique.Information can be computer-readable instruction, data knot Structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase Become internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electricity can Erasable programmable read-only memory (EPROM) (EEPROM), fast flash memory bank or other memory techniques, read-only light Disk read-only storage (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic Cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus or any other non-transmission medium, The information that can be accessed by a computing device available for storage.Defined according to herein, computer-readable Medium does not include temporary computer readable media (transitory media), the data-signal and load of such as modulation Ripple.
Embodiments herein is these are only, the application is not limited to.For this area skill For art personnel, the application can have various modifications and variations.It is all spirit herein and principle it Interior made any modifications, equivalent substitutions and improvements etc., should be included in claims hereof model Within enclosing.

Claims (10)

1. a kind of web page form delet method, it is characterised in that including:
Obtain each table row in the web page form containing check box in webpage, the web page form To that should have the check box of the row;
In response to dragging choosing to choose the instruction of web page form check box by mouse, the check box pair is obtained The table row to be deleted answered;
When receiving triggering web page form deletion event, the table row to be deleted is deleted.
2. according to the method described in claim 1, it is characterised in that when the form behavior to be deleted During the continuous table row of multiple numberings, the corresponding table row to be deleted of the acquisition check box, bag Include:
In response to dragging choosing to choose the instruction of web page form check box by mouse, multiple numberings are obtained continuous Web page form check box table row;
It regard the corresponding table row of the multiple continuous check box of numbering as table row to be deleted.
3. according to the method described in claim 1, it is characterised in that when the form behavior to be deleted When multiple the continuous table rows of numbering and the discontinuous table row of numbering, the acquisition check box pair The table row to be deleted answered, including:
In response to dragging choosing to choose the instruction of web page form check box by mouse, multiple numberings are obtained continuous Web page form check box table row;
In response to triggering ctrl keys by mouse while clicking the instruction for choosing web page form check box, obtain Number the table row of discontinuous web page form check box;
By the multiple continuous corresponding table row of check box of numbering and the discontinuous final election of the numbering The corresponding table row of frame is used as table row to be deleted.
4. according to the method described in claim 1, it is characterised in that when the form behavior to be deleted When the multiple continuous table rows of numbering of multi-disc and the discontinuous table row of numbering, the acquisition final election The corresponding table row to be deleted of frame, including:
In response to dragging choosing to choose the instruction of web page form check box by mouse, first multiple volume is obtained The table row of number continuous web page form check box;
In response to triggering ctrl keys by mouse while clicking the instruction for choosing web page form check box, obtain Number the table row of discontinuous web page form check box;
In response to triggering the instruction that ctrl keys drag choosing to choose web page form check box simultaneously by mouse, obtain The table row of the continuous web page form check box of multiple numberings in addition to first;
The multi-disc continuous corresponding table row of check box of multiple numberings and the numbering is discontinuous The corresponding table row of check box is used as table row to be deleted.
5. the method according to any one of claim 1-4, it is characterised in that the acquisition is led to Cross mouse and drag the table row to be deleted for selecting mode to choose web page form check box, including:
Mouse is obtained by the figure layer created on webpage and drags favored area, the mouse is dragged in favored area and wrapped Include the table row to be deleted for choosing check box;
Favored area is dragged to obtain choosing the table row to be deleted of web page form check box according to the mouse.
6. method according to claim 4, it is characterised in that described that choosing is dragged according to the mouse Region obtains choosing the table row to be deleted of web page form check box, including:
Favored area up-and-down boundary is dragged according to the ordinate of each table row in the web page form and the mouse Ordinate, obtain the selected table row to be deleted of check box.
7. a kind of web page form deletes device, it is characterised in that including:
First acquisition unit, for obtaining the web page form containing check box in webpage, the webpage table Each table row in lattice is to that should have the check box of the row;
Second acquisition unit, in response to dragging choosing to choose the instruction of web page form check box by mouse, Obtain the corresponding table row to be deleted of the check box;
Unit is deleted, for when receiving triggering web page form deletion event, by the table to be deleted Table rows are deleted.
8. device according to claim 7, it is characterised in that when the form behavior to be deleted During the continuous table row of multiple numberings, the second acquisition unit includes:
Acquisition module, in response to dragging choosing to choose the instruction of web page form check box by mouse, obtaining Take the table row of multiple continuous web page form check boxes of numbering;
Module to be deleted, for using the corresponding table row of the continuous check box of the multiple numbering as treating Delete Table row.
9. device according to claim 7, it is characterised in that when the form behavior to be deleted When multiple the continuous table rows of numbering and the discontinuous table row of numbering, the second acquisition unit includes:
First acquisition module, in response to dragging choosing to choose the instruction of web page form check box by mouse, Obtain the table row of multiple continuous web page form check boxes of numbering;
Second acquisition module, for choosing web page form in response to being clicked by mouse triggering ctrl keys simultaneously The instruction of check box, obtains the table row of the discontinuous web page form check box of numbering;
Module to be deleted, for numbering the corresponding table row of continuous check box and described by the multiple The corresponding table row of discontinuous check box is numbered as table row to be deleted.
10. device according to claim 7, it is characterised in that when the table row to be deleted During for the multiple continuous table rows of numbering of multi-disc and the discontinuous table row of numbering, described second obtains single Member includes:
First acquisition module, in response to dragging choosing to choose the instruction of web page form check box by mouse, Obtain the table row of first multiple continuous web page form check box of numbering;
Second acquisition module, for choosing web page form in response to being clicked by mouse triggering ctrl keys simultaneously The instruction of check box, obtains the table row of the discontinuous web page form check box of numbering;
3rd acquisition module, for dragging choosing to choose web page form simultaneously in response to triggering ctrl keys by mouse The instruction of check box, multiple numberings continuous web page form check box of the acquisition in addition to first Table row;
Module to be deleted, for by the corresponding table row of the continuous check boxes of the multiple numberings of the multi-disc and The corresponding table row of discontinuous check box of numbering is used as table row to be deleted.
CN201610016205.8A 2016-01-11 2016-01-11 Web page form delet method and device Pending CN106959941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610016205.8A CN106959941A (en) 2016-01-11 2016-01-11 Web page form delet method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610016205.8A CN106959941A (en) 2016-01-11 2016-01-11 Web page form delet method and device

Publications (1)

Publication Number Publication Date
CN106959941A true CN106959941A (en) 2017-07-18

Family

ID=59480667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610016205.8A Pending CN106959941A (en) 2016-01-11 2016-01-11 Web page form delet method and device

Country Status (1)

Country Link
CN (1) CN106959941A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109375977A (en) * 2018-10-15 2019-02-22 郑州云海信息技术有限公司 A kind of method and device for realizing page tabular editor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1821955A (en) * 2005-12-07 2006-08-23 北京佳讯飞鸿电气有限责任公司 Realizing method for controlling operation form in data constraint network
CN102508826A (en) * 2011-11-03 2012-06-20 汉王科技股份有限公司 Method and device for displaying table in document
CN103336762A (en) * 2013-07-12 2013-10-02 珠海金山办公软件有限公司 Method and terminal for pointing out relative rank and column values in spreadsheet
CN103631877A (en) * 2013-11-08 2014-03-12 四川长虹电器股份有限公司 Webpage table processing method
CN103870484A (en) * 2012-12-13 2014-06-18 腾讯科技(深圳)有限公司 Webpage coordination obtaining method and device
CN104298437A (en) * 2013-07-15 2015-01-21 中兴通讯股份有限公司 Text selection method, device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1821955A (en) * 2005-12-07 2006-08-23 北京佳讯飞鸿电气有限责任公司 Realizing method for controlling operation form in data constraint network
CN102508826A (en) * 2011-11-03 2012-06-20 汉王科技股份有限公司 Method and device for displaying table in document
CN103870484A (en) * 2012-12-13 2014-06-18 腾讯科技(深圳)有限公司 Webpage coordination obtaining method and device
CN103336762A (en) * 2013-07-12 2013-10-02 珠海金山办公软件有限公司 Method and terminal for pointing out relative rank and column values in spreadsheet
CN104298437A (en) * 2013-07-15 2015-01-21 中兴通讯股份有限公司 Text selection method, device and terminal
CN103631877A (en) * 2013-11-08 2014-03-12 四川长虹电器股份有限公司 Webpage table processing method

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
ERRAN: "table里每一行都有一个checkbox,选中一行后怎么得到该行特定后者所有TD数据", 《360文档-HTTP://WWW.360DOC.COM/CONTENT/15/1119/15/17283_514327455.HTML》 *
FENGXINZIONE: "JTable中Jcheckbox,如何选中checkbox就相当于这一行已经被选中", 《CSDN技术社区-HTTPS://BBS.CSDN.NET/TOPICS/390060407》 *
JOKERCK: "求大神我现在有很多复选框 我想实现鼠标拖动一块区域进行选中", 《CSDN技术社区-HTTPS://BBS.CSDN.NET/TOPICS/391860003》 *
中国就业培训技术指导中心: "《秘书国家职业资格培训教程 2014版》", 31 March 2014, 中央广播电视大学出版社 *
李桻: "《专业知识 经济、金融、会计、法律、计算机、应用文写作2015》", 31 May 2014, 安徽人民出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109375977A (en) * 2018-10-15 2019-02-22 郑州云海信息技术有限公司 A kind of method and device for realizing page tabular editor

Similar Documents

Publication Publication Date Title
CN107766309B (en) Data table generation method and device, storage medium and electronic device
CN105989082B (en) Tabular views generation method and device
JP4743915B2 (en) Method, apparatus and computer program for visualizing tag cloud
US20190018658A1 (en) System and method for manipulating and displaying data
CN103678511B (en) The method and device of webpage content extraction is carried out according to visual template
US20150262394A1 (en) Drag and drop of graph elements
CN109358851A (en) Creation method, device and the computer readable storage medium of chart components
CN108628608A (en) A kind of method and device of data visualization
CN109614097A (en) Generation method, device and the server of platform code
CN106610774A (en) Webpage table editing method and device
US9606700B2 (en) Selection of hierarchically organized items
CN107229474A (en) Method and device based on visualization interface rapid configuration Java interfaces and graph service
CN108804458A (en) A kind of reptile web retrieval method and apparatus
CN106649226A (en) Report generation method and device
CN108959359A (en) A kind of uniform resource locator semanteme De-weight method, device, equipment and medium
CN108595697A (en) Webpage integrated approach, apparatus and system
CN106649347A (en) Interest information identification method and apparatus
CN106354378A (en) Method and device for quickly selecting multiple targets
CN106250110A (en) Set up the method and device of model
Paetzold et al. Recteuler: Visualizing intersecting sets using rectangles
CN109684418A (en) Date storage method and device based on power grid chart database
CN106682044A (en) Data processing method and device
CN106649319A (en) Search result display method and device
CN106959941A (en) Web page form delet method and device
US10031894B2 (en) Method and apparatus of building intermediate character library

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20170718

RJ01 Rejection of invention patent application after publication