<input type="file" name="test" data-on-finish="alert();">
Uncaught TypeError: Object alert(); has no method 'call'
<input type="file" name="test" data-on-finish="myTesting">
why not place the name of the callback instead? something like
//for example, a global function window['someFunctionName'].call(); //a namespaced function //similar to doing ns.someFunctionName() ns['someFunctionName'].call();