try setting onfocus in to selector