Response title
This is preview!




<div data-role="dialog"> <script>
// This script prevents rounded corners on the top
// because rounded top corners relies on this selector in structure.css
// .ui-corner-all > .ui-header:first-child
// why the :first-child pseudo-class ??
// script was placed here because script in head is not eval'd via ajax
</script>
<div data-role="header" data-theme="d"> <h1>Dialog</h1> </div> <div data-role="content" data-theme="c">
Dialog content
</div> </div>
I've added this to my theme as a workaround
.ui-corner-all > .ui-header {
-webkit-border-top-left-radius: inherit;
border-top-left-radius: inherit;
-webkit-border-top-right-radius: inherit;
border-top-right-radius: inherit;
}
In this case, I can probably move the <script> outside of the data-role="page/dialog"
thought this might be helpful if anyone is having issues with rounded corners
<div data-role="fieldcontain" >this can be fixed by editing structure.css (line 1113 of non-minified file)
<fieldset data-role="controlgroup">
<legend>Checkboxes!</legend>
<div class="some_extra_container">
<div class="some_extra_container">
<div class="some_extra_container tag_label_pair">
<input type="checkbox" value="a" id="checkbox_0" name="cb[]" />
<label for="checkbox_0">a</label>
</div>
<div class="some_extra_container tag_label_pair">
<input type="checkbox" value="b" id="checkbox_1" name="cb[]" />
<label for="checkbox_1">b</label>
</div>
</div>
</div>
</fieldset>
</div>
<div data-role="collapsible-set"></div>
<div data-role="collapsible" data-collapsed="false">
<h3>Section A</h3>
<p>I'm the collapsible set content for section A.</p>
</div>

© 2012 jQuery Foundation
Sponsored by
and others.
