Can I use method and function overload in java-script and JQuery, if possible it means how to do that.
I have developed following code, but I think that is wrong, what's my error I don't know that, please clarify that
function isnull(txtid, errid, err) {
if (trimString(get(txtid).value) == '') {
return false;
}
return true;
}
function isnull(txtid) {
if (trimString(get(txtid).value) == '') {
return false;
}
return true;
}
All the time function calls second one only, if any idea do this one