I have the results populating in the html, and I just want to return the results in javascript. I was able to get the count like this ApartmentsIndex.getComponentDict().get('count') I want the actual document results. I tried ApartmentsIndex.getComponentMethods().getCursor() and I ran into an infinite loop. I know this is a super basic question but any help would be appreciated.
I have the results populating in the html, and I just want to return the results in javascript. I was able to get the count like this
ApartmentsIndex.getComponentDict().get('count')
I want the actual document results. I triedApartmentsIndex.getComponentMethods().getCursor()
and I ran into an infinite loop. I know this is a super basic question but any help would be appreciated.