inArray() and the splice() methods
Click Here