When using GlideAjax I have to always look up the example on the wiki. One thing that I’ve learned is if you create a initialize function, it will break the client-callable script include.
Every GlideAjax call has at least two components required. The script include and the client side script.
Below I’ll put down a simple example of how I start up on these things.
Note It seems that if you use the function name of getName it fails to return, so avoid that name I guess.