Jump to content
  • 0

Question

8 answers to this question

Recommended Posts

  • 0
Posted

items.length is returning the size or count of elements inside items, by calling items.length.getIcon() you trying to execute "getIcon" method on "int" type, which is not exist and will never be, you may need to invoke it on an element of "items"

  • 0
Posted

One code line say nothing. But most likely, your htm line should be under a items loop first, then you can call the icon.

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..