WordPress.org

Ready to get started?Download WordPress

Forums

AJAX Calendar Future POSTS
[wordpress-plugin-ajax-calendar-with-future-posts] Ajax Fails in IE (2 posts)

  1. Gyroscopic
    Member
    Posted 3 years ago #

    Works beautifully in FF and fails totally in IE7-9 (not tried 6, but hey).

    Get the Javascript error...
    Line: 254
    Character: 36
    Code: 0
    Error Message: Unknown runtime error

    254 function show_micro_ajax(response){document.getElementById('wp-calendar').innerHTML=response;}
                                            ^

    Any ideas?
    Why are you using microAjax and not jQuery? jQuery is already loaded with wp in any case (mostly).

    http://wordpress.org/extend/plugins/wordpress-plugin-ajax-calendar-with-future-posts/

  2. Gyroscopic
    Member
    Posted 3 years ago #

    Actually I managed to fix this by commenting out the original line and using jQuery...

    //document.getElementById('wp-calendar').innerHTML=response;
    	jQuery('#wp-calendar').replaceWith(response);

    Maybe you should update your plugin with this?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic