Testing Code Highlighting

var theIframe = document.querySelector( '.hs-form-iframe' ).contentWindow.document;
var theInputs = theIframe.querySelectorAll('input[type="hidden"]');
for( var i=0; i<theInputs.length; i++ ) {
    theInputs[i].type='text';
}
var theDivs = theIframe.querySelectorAll('div.hs-form-field');
for( var i=0; i<theDivs.length; i++ ) {
    theDivs[i].style.display='block';
}Code language: JavaScript (javascript)