我发觉不用scripts=jQuery.map( getAll( fragment, "script" ), disableScript )这个方法,直接用scripts=getAll( fragment, "script" )也没有问题。为啥要给js用disableScript和restoreScript这两个方法那么麻烦呢?
Replace/restore the type attribute of script elements for safe DOM manipulation