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 }
}
If you want to chain onchange functions, you can do something like this:
Like this you can also decide, whether you want the old onchange function to be executed before or after the new onchange code.