Results 1 to 3 of 3
  1. #1
    mehwish is offline Member
    Join Date
    Jul 2013
    Rep Power

    Question How to get rid of "X" button of dialog box in dojo 1.8


    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";'false';>
    <p align="center">Application cannot be processed contact help desk.</p>

    <div class="dijitDialogPaneActionBar">
    <p align="center">
    <button data-dojo-type="dijit/form/Button" onclick="hide('buttonone')" type="submit">OK</button>


    <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">;


  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Rep Power

    Default Re: How to get rid of "X" button of dialog box in dojo 1.8

    You know in this day and age, there is absolutely no reason that you should confuse Java with Javascript anymore. Its probably one in the top 10 repeatedly made statements on the internet. Even the smallest amount of reading into the tools you're using should have made you stumble over it.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: How to get rid of "X" button of dialog box in dojo 1.8

    Moved from Advanced Java and closing as off topic.


    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 0
    Last Post: 12-07-2012, 08:29 AM
  2. Replies: 3
    Last Post: 10-30-2012, 03:06 PM
  3. Where is the "Create Data Source Dialog Box"
    By drieskn in forum NetBeans
    Replies: 0
    Last Post: 03-12-2009, 11:46 AM
  4. Replies: 1
    Last Post: 10-20-2008, 07:35 AM
  5. Open "Save Page As" Dialog Box
    By Anubha in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 12-12-2007, 09:27 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts