How can I identify the text box post with multiple rows?
Source: Internet
Author: User
How to identify the text box post of multiple rows. This is to modify data, multiple rows, and multiple columns. How to design the text box. Each line has a name text box. how can I name it better? when I save it, how can I know which line to save. If I define the name text box and the name is "xingming", it is clear that the name text box names of multiple rows are all "post" text boxes of multiple rows. how can I identify this problem.
This is to modify data, multiple rows, and multiple columns.
How to design the text box.
Each line has a name text box. how can I name it better? when I save it, how can I know which line to save.
If I define the name text box and the name is "xingming", it is clear that the name text box names of multiple rows are all "xingming". Is this a conflict. Psot cannot identify which one is. Very tangled.
Do you have any friends who have done this? give me a solution. Tangle. Share:
------ Solution --------------------
Don't you have a saved button next to each other? you just need to get a click event and add a suffix to it. it's just xingming1 xingming2.
------ Solution --------------------
Each row uses a form.
------ Solution --------------------
All parameters of each row are distinguished by the data ID or unique field.
------ Solution --------------------
Since each row has a submit button, what is the waste of a form in each row?
------ Solution --------------------
Is it a waste of data if a single row of data is submitted for a form of 100 rows?
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