How could I use a caml query to only get the list items that are selected using the JavaScript Object Model?
<Where>
<Eq>
<FieldRef Name= ??? />
<Value Type="Integer">1</Value>
</Eq>
</Where>
For example, a user can select one, many, or all items in a list. I have a list on a page and I want to get the item(s) that are selected and do something with it. Thanks