background-position:sets the starting position of a background image. x y object.onfocus -- occurs when an element gets focus. test 一个在字符串中测试是否匹配的RegExp方法,它返回true或false。 /[\%\/\*\-\+]$/.test(oFormula.value)