onclick javascript function call with parameter

 

 

 

 

The call() method is a predefined JavaScript function method. It can be used to invoke ( call) a function with an owner object as the first argument (parameter). With call(), you can use a method belonging to another object. Or to answer the question of calling a javascript function: