Javascript - Getting caller arguments? -


lets have similiar code this

function detail(id){    var data=dataloadmethod(id);    bootbox.dialog({    // whatever    }); } 

now need find out function opened bootbox dialog, pretty simple, need know id argument value (inside bootbox dialog function - without passing along/editing functions) - possible find out somehow?

another approach can saving last called function name arguments somewhere, possible have piece of code automatically called before every js function execution?

thanks ideas or help!


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -