动态网站的HTML源码,怎么没有隐藏的Hidden标签。如下:<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /><input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /><input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" /><input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTIwMjE0Mjg0MTJkGAMFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYLBRlHcmlkVmlldzEkY3RsMDEkQ2hlY2tCb3gyBRlHcmlkVmlldzEkY3RsMDIkQ2hlY2tCb3gxBRlHcmlkVmlldzEkY3RsMDMkQ2hlY2tCb3gxBRlHcmlkVmlldzEkY3RsMDQkQ2hlY2tCb3gxBRlHcmlkVmlldzEkY3RsMDUkQ2hlY2tCb3gxBRlHcmlkVmlldzEkY3RsMDYkQ2hlY2tCb3gxBRlHcmlkVmlldzEkY3RsMDckQ2hlY2tCb3gxBRlHcmlkVmlldzEkY3RsMDgkQ2hlY2tCb3gxBRlHcmlkVmlldzEkY3RsMDkkQ2hlY2tCb3gxBRlHcmlkVmlldzEkY3RsMTAkQ2hlY2tCb3gxBRlHcmlkVmlldzEkY3RsMTEkQ2hlY2tCb3gxBQlHcmlkVmlldzEPPCsACgEIAmFkBRpHcmlkVmlld0NvbnRyb2wxJEdyaWRWaWV3MQ88KwAKAgMCAggCYWRuLD1IVIyEEtAwwcOlyqN0TygCBg==" />
2 回答
ABOUTYOU
TA贡献1812条经验 获得超5个赞
是没有,但是你可以把一个非动态的网站的隐藏转换成就可以了~我上次就是这么做的。。
<input id="myID" type="hidden" runat="server" name="myID" value='<%#Eval("NewsID")%>' />
<input id="myTitle" type="hidden" runat="server" name="myTitle" value='<%#Eval("Title")%>' />
上面的就是我上次做项目的时候用的。这样就可以在后台进行获取了!
说真的,我很喜欢用隐藏字段,可以解决很多问题。!~
- 2 回答
- 0 关注
- 789 浏览
添加回答
举报
0/150
提交
取消