Javascript Opinian methods are called with “call” method:
<script> Opinian.call(method_name, params, callback_function); </script>
parameter | type | description |
---|---|---|
method_name | string | Method name |
params | array | Javascript array with key ⇒ value list where key are method specific parameters |
callback_function | function | your callback function that will be called upon successful method execution |