在会话中传递div的内部html吗? [英] pass inner html of div in session?
本文介绍了在会话中传递div的内部html吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有
< div id ="ulAndil" runat ="server">
在运行时,我创建了许多可排序的html控件,然后单击确认
我想在会话或其他任何内容中的按钮回发之前保存此div的内部html.
i have
<div id="ulAndil" runat="server">
at run time i created alot of sortable html controls and then click confirm
i want to save inner html of this div before postback of button in session or anything
推荐答案
会话对象在服务器端可用,而在客户端不可用.由于您为div设置了runat ="server"属性,因此在服务器端您可以使用div.
您的问题不够清楚,无法知道您要做什么.
Session object is available on the Server side and not Client side. Since you have runat="server" attribute to the div, the div will be available to you on the server side.
Your question isn''t clear enough to know what you are trying to do.
这篇关于在会话中传递div的内部html吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文