摘要: C# 正则提取 Regex reg = new Regex(@"<img[\s]+src[\s]*=[\s]*['""](?<picPath>.*)['""][\s]*>"); reg.Match("<img src='http://www.baidu.com'>").Groups["picPath 阅读全文
posted @ 2017-08-29 22:50 小小高 阅读(154) 评论(0) 推荐(0)
摘要: $( "a.offsite" ).live( "click", function() { alert( "Goodbye!" ); // jQuery 1.3+ });//下面两个,第一个dom元素,不应该出现在第二个选择器中 $( document ).delegate( "a.offsite", "click", function() { alert( "Goodbye!" ); /... 阅读全文
posted @ 2017-08-29 15:45 小小高 阅读(403) 评论(0) 推荐(0)