How to return array values in JS function in VBCS?
Content
Hi Team,
I am trying to return array in Javascript and split those array values and populate in text fields.
But the array values which i return in JS couldnt able to get from the call module function result.
Please find the sample code which i have tried.
Kindly help us to do.
Thanks,
Karthick
Version
19.1.3Code Snippet
PageModule.prototype.arrayCheck = function (arg1) { var V_filename; var V_filesize; var V_filetype; V_filename="Karthick"; V_filesize="2mb"; V_filetype="pdf"; var returnValues = new Array(); returnValues=[V_filename,V_filesize,V_filetype]; return returnValues; };
Tagged:
0