I want to add multiple function onchange from javascript to the same input. some thik like this:
this.el = document.getElementById(this.docID);
if(x==y)
{
this.el.onchange += function(){ // some code }
}
if(a==b)
{
this.el.onchange += function(){ // some code }
}