<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									wpd-editor-wraper and wpd-form-row not showing with my custom Ajax - How-to and Troubleshooting				            </title>
            <link>https://wpdiscuz.com/community/troubleshooting/wpd-editor-wraper-and-wpd-form-row-not-showing-with-my-custom-ajax/</link>
            <description>wpDiscuz WordPress Comment Plugin Community. Support and Resources.</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 21 Apr 2026 11:11:48 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: wpd-editor-wraper and wpd-form-row not showing with my custom Ajax</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/wpd-editor-wraper-and-wpd-form-row-not-showing-with-my-custom-ajax/#post-5863</link>
                        <pubDate>Fri, 11 Dec 2020 09:39:57 +0000</pubDate>
                        <description><![CDATA[Hi @asti,
Thanks for your reply. And I appreciate your informing me with this.
Wish you a nice day.]]></description>
                        <content:encoded><![CDATA[<p>Hi @asti,</p>
<p>Thanks for your reply. And I appreciate your informing me with this.</p>
<p>Wish you a nice day.</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>sunnychih</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/wpd-editor-wraper-and-wpd-form-row-not-showing-with-my-custom-ajax/#post-5863</guid>
                    </item>
				                    <item>
                        <title>RE: wpd-editor-wraper and wpd-form-row not showing with my custom Ajax</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/wpd-editor-wraper-and-wpd-form-row-not-showing-with-my-custom-ajax/#post-5860</link>
                        <pubDate>Fri, 11 Dec 2020 09:29:37 +0000</pubDate>
                        <description><![CDATA[Hi @sunnychih,
We&#039;re really sorry, but the wpDiscuz cannot be worked in such cases. There is no way to make it work via js.]]></description>
                        <content:encoded><![CDATA[<p><span>Hi @sunnychih,</span></p>
<p>We're really sorry, but the wpDiscuz cannot be worked in such cases. There is no way to make it work via js.  </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/wpd-editor-wraper-and-wpd-form-row-not-showing-with-my-custom-ajax/#post-5860</guid>
                    </item>
				                    <item>
                        <title>wpd-editor-wraper and wpd-form-row not showing with my custom Ajax</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/wpd-editor-wraper-and-wpd-form-row-not-showing-with-my-custom-ajax/#post-5851</link>
                        <pubDate>Fri, 11 Dec 2020 00:07:41 +0000</pubDate>
                        <description><![CDATA[Hello,
    I&#039;m sorry for my poor English and poor coding ability firstly. So I would really appreciate it if you are so kind as to provide me with a simple code sample to fix the problem.
...]]></description>
                        <content:encoded><![CDATA[<p>Hello,</p>
<p>    I'm sorry for my poor English and poor coding ability firstly. So I would really appreciate it if you are so kind as to provide me with a simple code sample to fix the problem.</p>
<p>    My Wordpress Link is arek.index.city which I'm still working on it. I used an easy way to build Ajax for my website, which I will list below the post. The problem is, the first time I load the website, the wpdiscuz works just fine, but when I move into another post of my blog with my Ajax, wpd-editor-wraper and wpd-form-row disappear. I tried running '<span class="html-tag">&lt;script <span class="html-attribute-name">type</span>='<span class="html-attribute-value">text/javascript</span>' <span class="html-attribute-name">src</span>='<a class="html-attribute-value html-resource-link" href="https://arek.index.city/wp-content/plugins/wpdiscuz/assets/js/wpdiscuz-combo.min.js?ver=7.0.10" target="_blank" rel="noreferrer noopener">https://arek.index.city/wp-content/plugins/wpdiscuz/assets/js/wpdiscuz-combo.min.js?ver=7.0.10</a>' <span class="html-attribute-name">id</span>='<span class="html-attribute-value">wpdiscuz-combo-js-js</span>'&gt;</span><span class="html-tag">&lt;/script&gt;' while Ajax finished, it works, however, when I click reply button it will reply for many times.</span></p>
<p>    Thanks again for your generous help.</p>
<p> </p>
<p> </p>
<p>// ajax code</p>
<pre class="prettyprint lang-javascript" data-start-line="1" data-visibility="visible" data-highlight="" data-caption="">var ajaxhome='https://arek.index.city';
var ajaxcontent = 'integrity';
var ajaxsearch_class = 'searchform';
var ajaxignore_string = new String('#, /wp-, .pdf, .zip, .rar, /goto');
var ajaxignore = ajaxignore_string.split(', ');
var ajaxloading_code = 'loading';
var ajaxloading_error_code = 'error';
var ajaxreloadDocumentReady = false;
var ajaxtrack_analytics = false
var ajaxscroll_top = true
var ajaxisLoad = false;
var ajaxstarted = false;
var ajaxsearchPath = null;
var ajaxua = jQuery.browser;
jQuery(document).ready(function() {
    ajaxloadPageInit("");
});
window.onpopstate = function(event) {
    if (ajaxstarted === true &amp;&amp; ajaxcheck_ignore(document.location.toString()) == true) {
        ajaxloadPage(document.location.toString(),1);
    }
};
function ajaxloadPageInit(scope){
    jQuery(scope + "a").click(function(event){
        if (this.href.indexOf(ajaxhome) &gt;= 0 &amp;&amp; ajaxcheck_ignore(this.href) == true){
            event.preventDefault();
            this.blur();
            var caption = this.title || this.name || "";
            var group = this.rel || false;
            try {
                ajaxclick_code(this);
            } catch(err) {
            }
            ajaxloadPage(this.href);
        }
    });
    jQuery('.' + ajaxsearch_class).each(function(index) {
        if (jQuery(this).attr("action")) {
            ajaxsearchPath = jQuery(this).attr("action");;
            jQuery(this).submit(function() {
                submitSearch(jQuery(this).serialize());
                return false;
            });
        }
    });
    if (jQuery('.' + ajaxsearch_class).attr("action")) {} else {
    }
}
function ajaxloadPage(url, push, getData){
    if (!ajaxisLoad){
        if (ajaxscroll_top == true) {
            jQuery('html,body').animate({scrollTop: 0}, 1500);
        }
        ajaxisLoad = true;
        ajaxstarted = true;
        nohttp = url.replace("http://","").replace("https://","");
        firstsla = nohttp.indexOf("/");
        pathpos = url.indexOf(nohttp);
        path = url.substring(pathpos + firstsla);
        if (push != 1) {
            if (typeof window.history.pushState == "function") {
                var stateObj = { foo: 1000 + Math.random()*1001 };
                history.pushState(stateObj, "ajax page loaded...", path);
            } else {
            }
        }
        if (!jQuery('#' + ajaxcontent)) {
        }
        jQuery('#' + ajaxcontent).append(ajaxloading_code);
        jQuery('#' + ajaxcontent).fadeTo("slow", 0.4,function() {
            jQuery('#' + ajaxcontent).fadeIn("slow", function() {
                jQuery.ajax({
                    type: "GET",
                    url: url,
                    data: getData,
                    cache: false,
                    dataType: "html",
                    success: function(data) {
                        ajaxisLoad = false;
                        datax = data.split('&lt;title&gt;');
                        titlesx = data.split('&lt;/title&gt;');
                        if (datax.length == 2 || titlesx.length == 2) {
                            data = data.split('&lt;title&gt;');
                            titles = data.split('&lt;/title&gt;');
                            jQuery(document).attr('title', (jQuery("&lt;div/&gt;").html(titles).text()));
                        } else {
                        }
                        if (ajaxtrack_analytics == true) {
                            if(typeof _gaq != "undefined") {
                                if (typeof getData == "undefined") {
                                    getData = "";
                                } else {
                                    getData = "?" + getData;
                                }
                                _gaq.push();
                            }
                        }
                        data = data.split('id="' + ajaxcontent + '"');
                        data = data.substring(data.indexOf('&gt;') + 1);
                        var depth = 1;
                        var output = '';
                        while(depth &gt; 0) {
                            temp = data.split('&lt;/div&gt;');
                            i = 0;
                            pos = temp.indexOf("&lt;div");
                            while (pos != -1) {
                                i++;
                                pos = temp.indexOf("&lt;div", pos + 1);
                            }
                            depth=depth+i-1;
                            output=output+data.split('&lt;/div&gt;') + '&lt;/div&gt;';
                            data = data.substring(data.indexOf('&lt;/div&gt;') + 6);
                        }
                        document.getElementById(ajaxcontent).innerHTML = output;
                        jQuery('#' + ajaxcontent).css("position", "absolute");
                        jQuery('#' + ajaxcontent).css("left", "20000px");
                        jQuery('#' + ajaxcontent).show();
                        ajaxloadPageInit("#" + ajaxcontent + " ");
                        if (ajaxreloadDocumentReady == true) {
                            jQuery(document).trigger("ready");
                        }
                        try {
                            ajaxreload_code();
                        } catch(err) {
                        }
                        jQuery('#' + ajaxcontent).hide();
                        jQuery('#' + ajaxcontent).css("position", "");
                        jQuery('#' + ajaxcontent).css("left", "");
                        jQuery('#' + ajaxcontent).fadeTo("slow", 1, function() {});
                    },
                    error: function(jqXHR, textStatus, errorThrown) {
                        ajaxisLoad = false;
                        document.title = "Error loading requested page!";
                        document.getElementById(ajaxcontent).innerHTML = ajaxloading_error_code;
                    }
                });
            });
        });
    }
}
function submitSearch(param){
    if (!ajaxisLoad){
        ajaxloadPage(ajaxsearchPath, 0, param);
    }
}
function ajaxcheck_ignore(url) {
    for (var i in ajaxignore) {
        if (url.indexOf(ajaxignore) &gt;= 0) {
            return false;
        }
    }
    return true;
}
function ajaxreload_code() {
    //add code here   
}
function ajaxclick_code(thiss) {
    jQuery('ul.nav li').each(function() {
        jQuery(this).removeClass('current-menu-item');
    });
    jQuery(thiss).parents('li').addClass('current-menu-item');
}</pre>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>sunnychih</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/wpd-editor-wraper-and-wpd-form-row-not-showing-with-my-custom-ajax/#post-5851</guid>
                    </item>
							        </channel>
        </rss>
		