问题
According to the documentation, after marking a div with data-role="collapsible" there needs to be a header tag (h1 - h6) so that jQuery Mobile will turn it into the header of the collapsible block.
My question is, is there other way to indicate the header? Something like: data-role="collapsible-header"?
回答1:
Try using a legend rather than h#
来源:https://stackoverflow.com/questions/7521256/is-there-a-way-to-use-something-other-than-a-header-tag-to-indicate-a-header-in