07 2007 档案

C#中使用regular expression去掉html tags (转载)
摘要:private string StripHTML(string htmlString) { //This pattern Matches everything found inside html tags; //(.|\n) - > Look for any character or a new line // *? -> 0 or more occurences, and make a non... 阅读全文

posted @ 2007-07-26 18:03 margiex 阅读(687) 评论(0) 推荐(0)

gridview行的渐隐效果
摘要:gridview 代码: ' /> javascript save函数function Save(obj) { var row = null; if(IsFireFox()) { row = obj... 阅读全文

posted @ 2007-07-09 15:05 margiex 阅读(293) 评论(0) 推荐(0)

How to adjust IFrame height on it's content (转载)
摘要:http://www.codeproject.com/useritems/Adjust_An_iFrame_Height.asp Then you need to place such script BEFORE IFrame element: 阅读全文

posted @ 2007-07-07 00:22 margiex 阅读(1059) 评论(0) 推荐(0)

javascript中的"+"运算
摘要:在JS中,变量类型是没有专门的定义修饰符,各类型之间可以相互转换,当然是方便了使用和增加了语言的灵活性,但同时也容易出现逻辑上的错误。如定义下面的函数,function Add(a1, b1){ return a1 + b1;} alert(Add(2, '3')); // 错误,结果是23alert(Add(2, 3)); // 正确 当定义一个JS函数时, 在其定义的参数中如果有参加算术... 阅读全文

posted @ 2007-07-02 14:41 margiex 阅读(383) 评论(0) 推荐(0)