Hi I the following functions in separate js files
//in js file 1
setUsername: function(v){
document.Load.LogUsername = v;
}
//in js file 2{wrapper for js file 1}
LogUserName: function(v)
{
return myobject.SetLoguserName(v);
}
When document.Load.LogUsername = v; is called i need it to call the LogUserName function. LogUserName is a wrapper for setUsername. Any ideas how to get this to work. I know if change
document.Load.LogUsername = v; to document.Load.LogUsername(v); then it works but i was asked not to change the js file 1