Note that there are some explanatory texts on larger screens.

plurals
  1. POObject doesn't support property or method 'append' in IE9
    primarykey
    data
    text
    <p>this script is working in firefox or chrome but only gets half way in IE9 which is the top browser for our websites. </p> <p>the problem im getting is its throwing this error.</p> <p>SCRIPT438: Object doesn't support property or method 'append' calc_ajax.js, line 26 character 21</p> <p>on this line: item.append(link); </p> <p>and im stuck why. any help would be appreciated. </p> <pre><code>$(document).ready(function(){ $('.first a.btn').click(function(){ $('.first a.active').removeClass('active'); $(this).addClass('active'); $('.second .title').addClass('active'); var id = $(this).data('cat-id'); var wrap = $('&lt;div&gt;'); $.ajax({ url: script_url, type: "post", data: {"cat": id}, dataType: "json" }).success(function(result){ if(result.status == "ok"){ $.each(result.data, function(i, elem){ item = $("&lt;div class='body-area'&gt;").append($("&lt;img src='" + elem.image + "'&gt;")); link = $("&lt;a href='#results' class='btn'&gt;"); link.text(elem.name); link.data('subcat-id', elem.id); item.append(link); wrap.append(item); }); $('.second .body').html(wrap).slideDown('fast'); } }); }); $('.second a.btn').live('click', function(){ $('.second .body-area.active').removeClass('active'); $(this).parent().addClass('active'); var sub_id = $(this).data('subcat-id'); $.ajax({ url: script_url, type: "post", data: {"subcat": sub_id}, dataType: "json" }).success(function(result){ if(result.status == "ok"){ $('.third .title').text(result.data.title); $('.third .body').html(result.data.body); $('.third').slideDown('fast'); } }); }); </code></pre> <p>});</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload