http://docs.jquery.com/Ajax/jQuery.post#urldatacallbacktype
Michel Belleville
2009/11/26 Nuclear <nymphonics@gmail.com>
function ajax_post_var(url, event_id)
{
var info = $.post(url).responseText;
alert(info);
if (event_id == '1')
{
do something with info...
}
...more if's here...
}
Why does info show undefined... I'd like to be able to use the
returned value for something else.
No comments:
Post a Comment