var encodedAccount = '';
function encodeUsername()
{
encodedAccount= encrypt(document.getElementById('account').value);
alert(encodedAccount);
}
the function encrypt is async ajax function. the alert
is not returning a value , it's still ''
Any Idea ?
Thanks