Jquery .wrap(), Anchors And Ie June 22, 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 Juga'scales' Option Appears To Break Chart.js GraphHow To Guarantee An Element Will Have A Particular HeightHow To Move Table To The Top Of The Div Container Based On A Condition With Jquery? Share You may like these postsOnclick Function Button Change CanvasImage Reflection Effect Using Pure CssEnable/disable Button When Multiple Dropdown Value Is SelectedFlex-grow Isn't Rendering Correctly In Internet Explorer 11 (ie11) Post a Comment for "Jquery .wrap(), Anchors And Ie"
Post a Comment for "Jquery .wrap(), Anchors And Ie"