jQuery object IE8

Posted by Ojtwist on Stack Overflow See other posts from Stack Overflow or by Ojtwist
Published on 2010-05-04T13:32:55Z Indexed on 2010/05/04 13:38 UTC
Read the original article Hit count: 202

Filed under:
|
|

So i'm trying to render a template with trimpath in IE8, but when passing the template (a jquery object) there is nothing in it. This all works in chrome,safari,firefox.

So to give an example:

   var $flickrImageGalleryPreviewTemplate =$('#flickr_image_gallery_preview_template',rootel);
    $flickrImageGalleryPreviewTemplate.length)

will result in 0 in IE8 and 1 in FF,Chrome,Safari

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about object