GetListItems question

Feb 17, 2011 at 3:04 PM

Hi Marc,

Im try to get all list column values to validate against a variable. Is there a way to iterate thru the columns without specifying the attribute name?

instead of using $(this).attr("ows_fieldname"), is there something like $(this).column[1] and so on. so i dont have to write the fieldname. basically looping thru all list columns

 

thanks

Coordinator
Feb 18, 2011 at 5:07 AM

I'm not sure what benefit that would give you, frankly, since you need to know which column you're working with to do your validation. That said, the result is simply XML so you can iterate through the nodes if you want to do so.

M.