what is the use of blur and focus method in javascript code example Example: js blur element element.blur()