結果 : get active element javascript