結果 : how to change html attributes in javascript