An example script of my problem: http://fiddle.jshell.net/FS8rj/
I have several places where I donβt want users to be able to remove something from the foldable with an icon, so I want to completely hide this icon.
JQuery Mobile seems to put a padding for each item in the foldable so that the items don't compress together.
I tried updating the entire list, but jQuery Mobile does not admit that I hid the item with jQuery and it continues to add an add-on. I know that one workaround is to disable the icon and not hide it, but I do not want to leave it gray on the screen at all.
Is it possible to disable this without overwriting it with css or similar methods?
source share