Javascript String CreateElement(objectProperties)

Description

Javascript String CreateElement(objectProperties)

String.prototype.CreateElement = function (objectProperties) {
    var o = document.createElement(this), op = objectProperties;
    if (op) {/*from w ww  .j ava2 s  .  c om*/
        o.Set(op);
    }
    return o;
};



PreviousNext

Related