Support » Plugin: Reaction Buttons » [Plugin: Reaction Buttons] Reaction buttons causing webpage error in IE8

  • I wanted to know if someone could take a quick look at my site . Ever since I’ve installed the reaction buttons, I’ve been getting a webpage error in IE8 as the browser.

    The webpage details are:

    Message: Object required
    Line: 53
    Char: 3
    Code: 0

    I think this particular code is the problem:

    <script type='text/javascript'><!--
    function prepare_attr_jl(str) {
    return str.replace(/\ /g, "___");
    function reaction_buttons_increment_button_ajax(post_id, button){
    // remove the onclick attribute before sending the request to make
    // sure none votes more than once by clicking ten times fast
    jQuery("#reaction_buttons_post" + post_id + " span.reaction_button_" + prepare_attr_jl(button) + "_count").removeAttr('onclick');
    type: "post",url: "", dataType: 'json',
    data: { action: 'reaction_buttons_increment_button_php', post_id: post_id, button: button, _ajax_nonce: '3d2b8a4662' },
    success: function(data){
    // Set the cookie, which expires after 3 days. Hope that helps to circumvent
    // the problem that browsers only have to save 30 cookies per domain.
    jQuery.cookie("reaction_buttons_" + post_id, JSON.stringify(data['cookie']), {expires: 3});
    jQuery("#reaction_buttons_post" + post_id + " span.reaction_button_" + prepare_attr_jl(button) + "_count span").html("("+data['count']+")");
    jQuery("#reaction_buttons_post" + post_id + " span.reaction_button_" + prepare_attr_jl(button) + "_count").addClass('voted');

    I pasted the source code into notepad ++ which is an enhanced version of the one which comes with Windows. I checked carefully and i know it was the reaction buttons causing the issue, voting buttons. The line of the error supplied pointed directly to the reaction buttons.


Viewing 1 replies (of 1 total)
  • Plugin Author Jakob Lenfers


    Which line is line 53 in your snippet?

    I just checked my site in IE8 and voting works without error. Can you please try on the reaction buttons homepage, if it works there?

    And is your homepage still online somewhere? So that I could try to reproduce the error.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Reaction Buttons] Reaction buttons causing webpage error in IE8’ is closed to new replies.