data-theme="a" doesn't work for a dialog box
Hello,
I've a problem when I print the dialog box on the screen. I tried the data-theme="a", data-theme="c", data-theme="d" but I've every time the same color printed(in white). There is just the data-theme="b" that prints the dialog box in black.
I tried with $("#dialogbox1").trigger("create") but it's always the same result.
Do you have a solution ?
Thank you
- <script>
- $(document).ready( function(){
- $("#contentDialog").html("dfds");
$.mobile.changePage('#dialog1', { transition: 'pop', role: 'dialog' });
- } );
- </script>
- <body>
<div data-role="page">
<div data-role="ui-content">
- <!-- rest of the code -->
- </div>
- </div>
- <div data-role="dialog" data-ajax="false" data-theme="b" id="dialog1" class="app-dialog">
- <div data-role="header">
- <h3>Erreur d'authentification</h3>
- </div>
- <div id="contentDialog" data-role="content">
- </div>
- </div>
- </body>