Jquery .wrap(), Anchors And Ie March 20, 2024 Post a Comment I am trying to wrap an anchor-tag around a block of code using jQuery (v1.2.6) by doing the follwing: var link = $('').attr('href','http://www.foo.bar'); $('#block').wrap(Solution 1: Updating my jQuery to 1.3+ did the trick.Apparently var a = $('<a>'); in jQuery 1.2.6 and earlier will create a chunk of code that IE considers invalid and therefore will refuse to insert it into the DOM tree. Baca JugaIe Strange Behavior On Textarea And Select?Css Opacity - Internet ExplorerIframe Hover Not Working In Ie (all Versions) Share You may like these postsUsing Liquid Tempting In Css On Jekyll To Adjust Background Color Of Divs On A Per Page BasisCss Squares - On ResizeCodeigniter Throws 404 After Uploading To ServerRefreshing Javascript On The Page Without Refreshing Html Post a Comment for "Jquery .wrap(), Anchors And Ie"
Post a Comment for "Jquery .wrap(), Anchors And Ie"