Tuesday, 13 May 2014

Get Elements In Div

var _list=$("#single1 :input:text");
        _list.each(function(index,element){           
              alert("Index:"+index+"\t element:"+element.id+"\t name:"+element.name+"\t Req:"+element.required+"\t Read:"+element.readOnly);
        });
        alert("Length:"+_list.length);

No comments:

Post a Comment