This should work (getAttribute)..why doesn't it?