[jQuery] Re: return value from JQuery ajax custom method

2008-12-20 Thread Sara
Thanks a lot Mike On Dec 19, 4:27 pm, Mike Alsup mal...@gmail.com wrote: I'm using jquery ajax within a custom method and try to return its result to that original method but I get nothing while it works fine if I show it in alert window here is my code:

[jQuery] Re: return value from JQuery ajax custom method

2008-12-19 Thread Mike Alsup
I'm using jquery ajax within a custom method and try to return its result to that original method but I get nothing while it works fine if I show it in alert window here is my code: jQuery(document).ready(function() { jQuery.Test = function(){   jQuery.ajax({     type: POST,     url: