function CheckFields middle_content input type text each function var

1
2
3
4
5
6
7
8
function CheckFields() {
$("#middle_content input[type=text]").each(function(){
var field = $(this).attr("value")
var javafield = field.get(0)
alert(javafield.toString())
})
return false;
}