How can I call the following?
var ccall="search.clearMultiSelect";
I have tried the following:
window[ccall]();
ccall();
Both didn't work (and I get why). I was able to achieve it by eval but is there any other way without using eval?
I cannot split the string or manipulate the string, except for adding something at the beginning or end.
Basically the server, in it's response, contains the name of the function to execute on success of an operation, which in this case is as above.