摘要:functiongetXmlData(xmlData,xpath){varouputXml="<xml>";$(xmlData).find(xpath).each(function(){ouputXml+=$(this)[0].xml.toString().replace(newRegExp($(this)[0].nodeName,"gi"),"row");});ouputXml+="</xml>";returnouputXml;}前提是要 xmlData 转化成 dom
阅读全文
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<html><head><scriptsrc="jquery-1.4.2.min.js"></script></head><body&...
阅读全文
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-t...
阅读全文