I have an array
[0,1,2,3,4,5]
what I want to do is check for a value say 3 and then remove it
[0,1,2,4,5]
I was trying to check for it using
jQuery.inArray(questions[count], $(this).index())
but was getting quite erratic answers.
Know to use of .indexOf in javascript
var arr = [0,1,2,3,4,5];
var removevalue  = 3;
arr.splice(arr.indexOf(removevalue), 1);