访问客户端在服务器端添加了检查清单项. [英] Access client side added check list items server side.

查看:75
本文介绍了访问客户端在服务器端添加了检查清单项.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将检查列表项添加到javascript的复选框列表中,当我尝试访问这些列表项服务器端时,项目长度为1(我添加了静态列表项),但无法访问这些通过javascript服务器端添加的动态项目,如何访问所有这些动态项目服务器端...?


I am trying to add check list items to the checkbox list in the javascript,when I try to access these list items server side, the items length is 1(I added a static list item) and I was unable to access these dynamic items added through javascript server side, How can I access all these dynamic Items server side...?


any suggestion is appreciated.

推荐答案

使用隐藏的输入并将您的项目值附加到它,然后可以从服务器访问您的隐藏的输入.

这可能对您有帮助
http://dotnetsavvyblog.blogspot.in/2007/11/how-to-access-client-side-control-in.html [
Use Hidden input and append your item values to it and thne access your hidden input from server.

This may help you
http://dotnetsavvyblog.blogspot.in/2007/11/how-to-access-client-side-control-in.html[^]


这篇关于访问客户端在服务器端添加了检查清单项.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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