I am trying to call functions with the same signature.
example: There are two functions with the same name:
<script> var obj1,obj2,obj3,obj4,obj5; function OpenBox(obj1,obj2){ </script>
When I call a function on a link click event
<a id='hlnk1' href='#' onclick='OpenBox(this,\"abhishek\"); return false;'> Open Box </a>
When I click on the link above, it calls the OpenBox function (obj1, obj2, obj3, obj4, obj5) {}
It should be an OpenBox call function (obj1, obj2) {} Instead.
What happens in the functions?
Abhishek B.
source share