Hi,
I want to get rid of the “X” button in dialog box in dojo 1.8. Please refer my code example and let me know the needful changes.
<div data-dojo-type=”dijit/Dialog” data-dojo-id=”myFormDialog1″ style=”width: 600px; height: 200px;”>
<form data-dojo-type=”dijit/form/Form” data-dojo-id=”myForm1″>
<div class=”dijitDialogPaneContentArea”; dlg.closeButtonNode.style.display=’false’;>
<p align=”center”>Application cannot be processed contact help desk.</p>
</div>
<div class=”dijitDialogPaneActionBar”>
<p align=”center”>
<button data-dojo-type=”dijit/form/Button” onclick=”hide(‘buttonone’)” type=”submit”>OK</button>
</p>
</div>
</form>
</div>
<br>
<button id=”buttonone” data-dojo-type=”dijit/form/Button” type=”button”>Button 1
<script type=”dojo/method” data-dojo-event=”onClick” data-dojo-args=”evt”>
myFormDialog1.show();
</script>
</button>