HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/PHerau/ha.health-science.be/wwwroot/js/dnn.controls.dnninputtext.js

dnn.controls.DNNInputText=function(multiLine)
{if(multiLine)
this.control=document.createElement('textarea');else
{this.control=document.createElement('input');this.control.type='text';}
this.container=this.control;this.initialized=true;this.supportsMultiLine=multiLine;this.isRichText=false;this.loaded=false;}
dnn.controls.DNNInputText.prototype={focus:function()
{this.control.focus();var len=this.getText().length;if(this.control.createTextRange)
{var range=this.control.createTextRange();range.moveStart('character',len);range.moveEnd('character',len);range.collapse();range.select();}
else
{this.control.selectionStart=len;this.control.selectionEnd=len;}},ltrim:function(s)
{return s.replace(/^\s*/,"");},rtrim:function(s)
{return s.replace(/\s*$/,"");},getText:function()
{return this.control.value;},setText:function(s)
{this.control.value=this.rtrim(this.ltrim(s));}}
dnn.controls.DNNInputText.registerClass('dnn.controls.DNNInputText');