Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Jquery and sharepoint

$
0
0

Hello all,

I created method and read sharepoint list with jquery using webservices. I got three varaibles from the list. Now I want to iterate over these varables using jquery only.

eg: var title = "1", "2" etc

 var user = "one", two";

   Now I want to create an array of objects and find if 1 maps to one?

varobj = $([]);

obj = obj.add(title);

obj = obj.add(user);

alert(obj.ttile);

This alert does not work. Its undefined. I want to create an object and then push that object to an array and then get the desired values. Can anybody suggest a better method to map title and user of rows by any method.

Any help is appreciated.

Thanks

                obj = obj.add(group);

               

                alert (obj.ttile);

                obj = obj.add(ttile);

                obj = obj.add(group);

               

                alert (obj.ttile);


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>