Jquery .wrap(), Anchors And Ie December 26, 2023 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 JugaZ-index Not Overlaying Over Divs Further Down In The DomLogging In Via Iframe Doesn't Work With Ie9?Ie Border Radius Display Error Share You may like these postsHtml And Internet Explorer: How To Avoid Hidden Elements To Be Copied/pastedDynamic Css Loading In Ie Won't WorkJquery Hide/show Code Not Working In Internet ExplorerCss Child Selector (>) Doesn't Work With Ie Post a Comment for "Jquery .wrap(), Anchors And Ie"
Post a Comment for "Jquery .wrap(), Anchors And Ie"