New to SP dev, but recently learned how to retrieve data from lists using ECMA with CAML. Added a CEWP, wrote the script to retrieve the data and it is working fine, multiple field filters, etc. However, I searched online to learn this and there are tons of examples (helped a lot) but they all show alerts with values (which is fine).
Apologies if that question was unclear. So I am trying to pull data from a list on to a page through Content Editor Web Part. Added a link to call the functions below. Was trying to use this method to learn CAML so that I could add my own query/filters. I learned this basic example via multiple blogs/MSDN on the subject, so perhaps I am confused about context. Anyway the below works fine, pulling from a list I create with 'Title' and'ExampleFilterValue' > 5, but I have only thus far learned how to display the results with an alert. I use this script in the HTML editor of the CEWP.
My question is can you take an approach such as this and display the resulting values in a webpart, so can I display the values returned from the following in the same or another webpart?
Appreciate any help.