<input type="text" value="" onkeyup="new Create_table().add_str()" /> function Create_table() { this.add_str = function () { //как здесь получить доступ к input } }
This is not suitable for me
onkeyup="new Create_table().add_str(this)" this.add_str=function(self){}