checkbox and anchor on a div collapsible
Hello !
I'm beginning with JQuery Mobile and already have a first question.
I've created some collapsible div inside collapsible div ... etc as shown below :
- <div data-role="collapsible-set" data-theme="b" data-content-theme="d">';
- <div data-role="collapsible">
- <h3>Test 1</h3>
- <div data-role="collapsible-set" data-theme="b" data-content-theme="d">
- <div data-role="collapsible">
- <h3>Test 1_1</h3>
- <div data-role="collapsible-set" data-theme="b" data-content-theme="d">
- <input type="checkbox">
- <div data-role="collapsible">
- <h3>Test 1_1_1</h3>
- </div>
- <input type="checkbox">
- <div data-role="collapsible">
- <h3>Test 1_1_2</h3>
- </div>
- <div data-role="collapsible">
- <h3>Test 1_1_3</h3>
- </div>
- </div>
- </div>
- <div data-role="collapsible">
- <h3>Test 1_2</h3>
- </div>
- </div>
- </div>
- <div data-role="collapsible">
- <h3>Test 2</h3>
- </div>
- </div>
My problem is that I don't succeed in inserting a checkbox on the same line as my <h3> text and, even if I would succeed in, I suppose I'll have some troubles to check in/out this checkbox since the click would be understood as an event to open the collapsible menu.
I have the same problem If I want to insert an anchor on the same line as my <h3> text.
Any idea to help me ?
Thanks !