Posted by jesus2099 on Wed 18 Jul 14:50
report abuse | View followups from jesus2099 | download | new post
- // Analyze XmlHttp response
- function xmlhttpChange() {
- // create XMLDOM object if xmlhttp shows "loaded"
- if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
- {
- var xmldoc = xmlhttp.responseXML;
- var xpathExpr = "count(id('content-td')//xhtml:a[contains(text(), '" + editorName + "')])>0";
- var isSubscribed = xmldoc.evaluate(xpathExpr, xmldoc, NSResolver, XPathResult.BOOLEAN_TYPE, null).booleanValue;
- if (isSubscribed) {
- subscriptionDecorator();
- }
- }
- }
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.