Returning HTML Fragment from String
Here is a very nice way to perform this action. Thanks to Jonathan Neal    createFragment = (range...
Tags: javascript, dom