Jquery .wrap(), Anchors And Ie July 24, 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 JugaHtml Anchor Tag Redirect Link After Ajax RequestWhy Do Bottom Padding And Bottom Margins Not Help To Add Vertical Spacing Between These Links?Dynamically Switch Content In Website Based On User Language Selection Share You may like these postsMobile Table Crashes Ie9Html Checkbox - Cross Browser IssueCheck What Kind Of Browser The User Is UsingHow To Set The Maxlength Of A Textarea So That It Works Across All Browsers? Post a Comment for "Jquery .wrap(), Anchors And Ie"
Post a Comment for "Jquery .wrap(), Anchors And Ie"