2008年10月24日
摘要: 调试net程序时有时会遇到下面的问题: Invalid postback or callback argument. Event validation is enabled using in configuration or in a page. For security purposes, this feature verifies that arguments to postba... 阅读全文
posted @ 2008-10-24 13:51 李辉明 阅读(3177) 评论(0) 推荐(0) 编辑
摘要: LI代码的格式化: A).运用CSS格式化列表符: ul li{ list-style-type:none; } 例如下面的: 供求信息 B).如果你想将列表符换成图像,则: ul li{ list-style-type:none; list-style-image: url(images/icon.gif); } 例如下面的: 供求信息 C).为了左对齐,可以用如下代码: ... 阅读全文
posted @ 2008-10-24 11:54 李辉明 阅读(666) 评论(0) 推荐(0) 编辑
摘要: js对文字进行编码涉及3个函数:escape,encodeURI,encodeURIComponent,相应3个解码函数:unescape,decodeURI,decodeURIComponent 1、 传递参数时需要使用encodeURIComponent,这样组合的url才不会被#等特殊字符截断。 例如: 2、 进行url跳转时... 阅读全文
posted @ 2008-10-24 09:39 李辉明 阅读(3185) 评论(0) 推荐(0) 编辑