I want to do something with each hidden input value, so I coded the following javascript using jQuery.
$.each($("input[type='hidden']"), function (index, value) {
alert(value.val());
});
But I get he following execution error: value.val is not a function.
What am I doing wrong?