Created
June 23, 2016 23:44
-
-
Save JimboFromLimbo/6c03b39561cfa1d8405bd127b7772ab3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createSignaturePads() { | |
var elems=document.querySelectorAll("*[id^='signaturePad-']"); | |
[].forEach.call(elems,function(elem){ | |
console.log(elem) | |
var oldId=elem.getAttribute("id"); | |
console.log(oldId) | |
var oldId=new SignaturePad | |
(document.getElementById(oldId)) | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment