I'm trying to create a generic AJAX function that has the data field passed to the function in order to return the results to the proper place.
Oddly enough, this does not work if I comment out the 'alert' line in the set_output, however it does work if I have it pop up those variables.
Either way, I do still get a type-mismatch on the line:
I figure that is because you shouldn't pass variables to a function in this way.
Any suggestions would be greatly appreciated!