Skip to content

Instantly share code, notes, and snippets.

@trnktms
Created April 6, 2017 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trnktms/d93621a073faccfe2d343c8192f0eebe to your computer and use it in GitHub Desktop.
Save trnktms/d93621a073faccfe2d343c8192f0eebe to your computer and use it in GitHub Desktop.
function textField() { }
textField.setValue = function () {
fieldBase.getParentIframe().setAttribute('sc_value', document.getElementById('ll-text').value);
}
textField.getValue = function () {
document.getElementById('ll-text').value = fieldBase.getParentIframe().getAttribute('sc_value');
}
textField.updateIframeDisplaySettings = function () {
var parentIframe = fieldBase.getParentIframe();
parentIframe.style = "height: 87px";
parentIframe.scrolling = "no";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment