Jquery .wrap(), Anchors And Ie December 25, 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 JugaHow To Play Pause Video On ScrollMaintaining Z-index Order After RotatedShow And Hide Element On Mouse Over Jquery Share You may like these postsInput Placeholders For Internet ExplorerHow To Disable Smooth Scrolling In IE 11 ProgramaticallyIE7 Outline:0 Not WorkingHow To Design A Radio Button, Which Looks The Sam In Firefox, Chrome And IE11 Post a Comment for "Jquery .wrap(), Anchors And Ie"
Post a Comment for "Jquery .wrap(), Anchors And Ie"