Hello,
I am new to JQuery Moble and it's really fun to play with. But now I am stuck, with a problem. I guess the solution is very simple, but I can't find the solution.
I want to create a header what's collapsable. The problem is, when I create one a dynamic header the header isn't collapsable at all. Does anyone of you have the same problem? I already visited
This link, but it wasn't helping me that much.
Thanks,
- <div data-role="page">
- <button id="Button1" data-theme="b" type="button">Aanmelden</button>
- <div data-role = "content">
- <div id="AppendTest" data-role="collapsible">
- <h3>Header swatch A</h3>
- </div>
- </div>
- $.each(data.d, function (index, value) {
- $('#AppendTest').append($('<h3>' + value.Name + '</h3>'));
-
- $('#AppendTest').trigger('create');
- });