Jquery .wrap(), Anchors And Ie June 09, 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 JugaHow To Create A Pop-up Div On Mouse Over And Stay When ClickHaving Trouble With Sliding Word AnimationIe Not Showing Whole Text From Topojson - Just 2-3 Words Share You may like these postsWrapping A Table Row In A Element (hyperlink) In Html5Only Show Specific Div With AnchorAnchor Around Table - Not Working In OutlookDifference Between _self, _top, And _parent In The Anchor Tag Target Attribute Post a Comment for "Jquery .wrap(), Anchors And Ie"
Post a Comment for "Jquery .wrap(), Anchors And Ie"