im newbie in jquery/javascript and got this code below:
$("#result").empty().html(result);
can someone explain the code. correct me if im wrong but i think, it explains that it should empty first before displaying another result in the id of result?
Thank you.