Comment with ajax almost working

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
indexx
New Member
New Member
Posts: 8
Joined: Tue Aug 26, 2008 1:37 pm

Comment with ajax almost working

Post by indexx »

I'm trying to make comments module working with ajax but I have a problem.

Site after adding comment isn't refreshing but in pleac wher should appear div with message appers page index.php and comment isn't added to base.

Mayby someone know how make it works?

Code: Select all

<__script__ type="text/javascript">
        window.addEvent('domready', function(){
            $('m4moduleform_1').addEvent('submit', function(e) {

            new Event(e).stop();
            var log = $('log_res').empty().addClass('loading');
            this.send({
                update: log,
                onComplete: function() {
                    log.removeClass('loading');
                }
            });
            });        
        });
    </__script>


http://inzosoft.pl/include/mootools.js
User avatar
duclet
Forum Members
Forum Members
Posts: 187
Joined: Fri Jun 23, 2006 12:55 pm

Re: Comment with ajax almost working

Post by duclet »

I don't think it currently does what you are fully looking for, but my comments module, DL Suite: Comments, is AJAX based.
Post Reply

Return to “Modules/Add-Ons”