Use id instead of name for anchors and span instead of i