eschat ise bunu kullan..

<input type=text name=nick><input type=button value='Nick degistir' onClick='esChat.d("nick",document.form1.nick.value );'>