Skip to main content
Ben Nadel at cf.Objective() 2009 (Minneapolis, MN) with: Eric Stevens
Ben Nadel at cf.Objective() 2009 (Minneapolis, MN) with: Eric Stevens

Bartezz

Member since Feb 10, 2012

Recent Blog Comments By Bartezz

  • jQuery AJAX Strips Script Tags And Inserts Them After Parent-Most Elements

    Posted on Feb 10, 2012 at 7:21 PM

    Update! Instead of $(eval(options.insertAfter)).after(data['insertData']); I now use: var ajaxNode = document.createElement('span'); var parent = $(eval(options.insertAfter))[0].parentNode; ajaxNode.innerHTML = data['insertData']; parent.insertBefore(ajaxNode, $(eval(options.insertAfter))[... read more »