Great. Thanks. Seems so obvious now!
Great. Thanks. Seems so obvious now!
I have tried running the javascript on page load:
Apperyio("").closest('[data-role="collapsible"]').find('h3').click(list_countries.execute({}));
But it seems to execute the service regardless of whether the header is clicked. What am I doing wrong?
Thank you. Where/when should I execute the javascript (on page load?)
Regards, Shaun.
Thanks for the answer. I'm afraid I don't really understand where to include the code that you've given me in the original code that I posted (I've just been following the tutorial...)
Shaun.