从动态创建的行中提取值 [英] extracting values from a dynamically created row

查看:69
本文介绍了从动态创建的行中提取值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我创建了一个动态行,并将值插入文本框中这些行的单元格中。现在我必须编辑存储在行中的那些值。在每行的结尾处动态地创建两个按钮,即编辑按钮。和删除存在。如果我点击编辑按钮按钮特定单元格中的值应返回到文本框进行编辑,然后在编辑后应该转到相应的位置。


任何人都可以使用Javascript帮助解决这个问题。

先谢谢.........

解决方案

您好


我使用电子邮件ID创建了表格。每行的结尾包含编辑和编辑。和删除选项。如果我单击该特定行的编辑按钮,则应将emailid转移到其他页面进行编辑,然后在修改到上一页后返回。


谢谢。

这对我很有帮助。






我创建了该表使用电子邮件ID。每行的结尾包含编辑和编辑。和删除选项。如果我单击该特定行的编辑按钮,则应将emailid转移到其他页面进行编辑,然后在修改到上一页后返回。


谢谢。

这对我很有帮助。



1.)您使用的是JSP吗?

2.)您是否拥有自己形式的每个编辑链接?您可以将电子邮件值作为该表单的隐藏字段传递。


感谢您的回复


我在该电子邮件中动态创建一行有地址,编辑和删除按钮。对于动态创建的每一行,还会创建相应的编辑和删除按钮。


如果我单击特定行中的编辑按钮,则应提取该行中的emailid以进行修改。

Hi

I have created a dynamic row and inserted the values into the cells of those rows from textboxes. Now I have to edit those values stored in the rows. At the end of each row created dynamically two buttons namely "Edit" and "Delete" are present. If I click the "Edit" button the values in that particular cells should go back to the textboxes for editing and then after editing it should go to the corresponding place.

Can any one help to solve this using Javascript.
Thanks in Advance.........

解决方案

Hi

I have created the table using an email id. The end of each row contains "Edit" and "Delete" options. If I click Edit Button of that particular row, The emailid should be transferred to other page for editing and then return back after modification to the previous page.

Thanks.
It would be so helpful for me.


Hi

I have created the table using an email id. The end of each row contains "Edit" and "Delete" options. If I click Edit Button of that particular row, The emailid should be transferred to other page for editing and then return back after modification to the previous page.

Thanks.
It would be so helpful for me.

1.) Are you using JSP?
2.) Do you have each edit link in its own form? You can pass the email value as a hidden field of that form.


thanks for ur reply

I am creating a row dynamically in that email address, edit and delete buttons are there. For each row created dynamically the corresponding edit and delete buttons are also created.

If i click an edit button in a particular row the emailid in tht row should be extracted for modification.


这篇关于从动态创建的行中提取值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆