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 JugaWhatsapp://send?text Cut String From '&' Character Till End?Html5 Audio Not Working In Ie7 Or Ie8Html5 How To Replace Webaudio Api For Internet Explorer For Javascript Games? Share You may like these postsJquery - Changing Styles And Displaying Certain ElementsHow To Change Image-background After Sometime?How To Show Button On Div Mouse HoverTwitter Bootstrap - Drop Down Menu - Arrows Keys Are Not Working For Input Tags In Firefox Post a Comment for "Jquery .wrap(), Anchors And Ie"
Post a Comment for "Jquery .wrap(), Anchors And Ie"