Merrill, Ajax is typically asynchronous, so your function returns before it has the value (besides, the getServerText function has no return statement). One thing you can do is create a callback function that can handle the result and call it on your onreadystate function. I would also recommend using a library like jquery.
Alvaro -- http://www.alvarocarrasco.com On Wed, Mar 9, 2011 at 4:36 PM, Merrill Oveson <[email protected]> wrote: > ... _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
