...
Code Block |
---|
var CustomEventHandlers = { setup: function (el) { if (CustomView.hasClass(el, 'detectbrowser')) { el.value = navigator.userAgent; UberController.valueChangeObserver({target:document.getElementsByName('Browser')[0]}, document.getElementsByName('Browser')[0].parentNode.parentNode); } } } |
Note |
---|
Replace the name Browser in the above JavaScript with the name of the text field you are using. |
...