Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8786721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:42:38+00:00 2026-06-13T21:42:38+00:00

Does anyone know how to remove the close icon in the popup dialog. http://jquerymobile.com/test/docs/pages/dialog/index.html#&ui-state=dialog

  • 0

Does anyone know how to remove the close icon in the popup dialog.

http://jquerymobile.com/test/docs/pages/dialog/index.html#&ui-state=dialog

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T21:42:39+00:00Added an answer on June 13, 2026 at 9:42 pm

    After looking at the structure of the dialog it is easy to understand that the below CSS can be used to hide the Close button.

    .ui-header > .ui-btn { display: none; }
    

    Note this will hide all the .ui-btn in ui-header. If that is not desired, you can write a simple script to make sure that we are just hiding the Close button alone.

    For all dialogs in the page:

    $(function () {
        $('.ui-btn', '.ui-header').filter (function () {
            return $.trim($(this).find('span.ui-btn-text').text()) == 'Close'; 
        }).hide();
    });
    

    For any specific dialog with ID pageId:

    $(function () {
        $('.ui-header .ui-btn', '#pageId').filter (function () {
            return $.trim($(this).find('span.ui-btn-text').text()) == 'Close'; 
        }).hide();
    });
    

    See below for more details about the dialog structure.

    Below is the the X (close icon) as in the beginning of the div, (See complete structure)

    <a href="#" class="ui-btn-left ui-btn ui-btn-up-d ui-shadow ui-btn-corner-all ui-btn-icon-notext" title="Close">
      <span class="ui-btn-inner ui-btn-corner-all">
         <span class="ui-btn-text">Close</span>
         <span class="ui-icon ui-icon-delete ui-icon-shadow">&nbsp;</span>
       </span>
     </a>
    

    Complete Structure [cleaned up data attributes for readability]

    <div role="dialog" class="ui-dialog-contain ui-corner-all ui-overlay-shadow">
      <div class="ui-corner-top ui-header ui-bar-d" role="banner">
        <a href="#" class="ui-btn-left ui-btn ui-btn-up-d ui-shadow ui-btn-corner-all ui-btn-icon-notext" title="Close">
            <span class="ui-btn-inner ui-btn-corner-all">
              <span class="ui-btn-text">Close</span>
              <span class="ui-icon ui-icon-delete ui-icon-shadow">&nbsp;</span>
            </span>
         </a>
         <h1 class="ui-title" role="heading" aria-level="1">Dialog</h1>
      </div>
      <div class="ui-corner-bottom ui-content ui-body-c" role="main">
        Dialog content
        <a href="#" class="ui-btn ui-shadow ui-btn-corner-all ui-btn-up-b">
          <span class="ui-btn-inner ui-btn-corner-all">
            <span class="ui-btn-text">Sounds good</span>
          </span>
        </a>       
        <a href="#" class="ui-btn ui-shadow ui-btn-corner-all ui-btn-up-c">
           <span class="ui-btn-inner ui-btn-corner-all">
             <span class="ui-btn-text">Cancel</span>
           </span>
         </a>    
      </div>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know how to remove the icon of DialogPreference appearing on PreferenceActivity screen?
Does anyone know how to remove Treeitems from a Treechildren node in ZK? I
Does anyone know of a good way to remove vss source control bindings for
Does anyone know how to remove markup from the theme search box? It produces
Does anyone know how to remove a row inside a TableView in Titanium.
Does anyone know how to remove the 30MB upload limit, specifically for IIS Express?
Does anyone know how I can remove links from the top menu using local.xml.
Does anyone know how to remove the keyboard focus rect that appears in a
Does anyone know if there is a way to generate different code in the
Does anyone know of a free tool, similar to what is built into Visual

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.